42 USE user_interface_mod
46#include "implicit_f.inc"
54 INTEGER,
INTENT(in) :: size_array
55 INTEGER,
DIMENSION(SIZE_ARRAY),
INTENT(in) :: array
60 INTEGER,
DIMENSION(:),
ALLOCATABLE :: local_array
62 j = sensor_user_struct%POINTER_NODE
65 IF(j>sensor_user_struct%NUMBER_NODE)
THEN
66 sensor_user_struct%NUMBER_NODE = sensor_user_struct%NUMBER_NODE + numnod
67 ALLOCATE( local_array(sensor_user_struct%NUMBER_NODE) )
69 local_array(1:j-1) = sensor_user_struct%NODE_LIST(j-1)
71 DEALLOCATE( sensor_user_struct%NODE_LIST )
72 ALLOCATE( sensor_user_struct%NODE_LIST( sensor_user_struct%NUMBER_NODE ) )
74 sensor_user_struct%NODE_LIST(1:j-1) = local_array(1:j-1)
75 sensor_user_struct%NODE_LIST(j:sensor_user_struct%NUMBER_NODE) = 0
77 DEALLOCATE( local_array )
79 sensor_user_struct%NODE_LIST(j) = array(i)
82 sensor_user_struct%POINTER_NODE = j