41 USE user_interface_mod
45#include "implicit_f.inc"
53 INTEGER,
INTENT(in) :: size_array
54 INTEGER,
DIMENSION(SIZE_ARRAY),
INTENT(in) :: array
59 INTEGER,
DIMENSION(:),
ALLOCATABLE :: local_array
61 j = sensor_user_struct%POINTER_NODE
64 IF(j>sensor_user_struct%NUMBER_NODE)
THEN
65 sensor_user_struct%NUMBER_NODE = sensor_user_struct%NUMBER_NODE + numnod
66 ALLOCATE( local_array(sensor_user_struct%NUMBER_NODE) )
68 local_array(1:j-1) = sensor_user_struct%NODE_LIST(j-1)
70 DEALLOCATE( sensor_user_struct%NODE_LIST )
71 ALLOCATE( sensor_user_struct%NODE_LIST( sensor_user_struct%NUMBER_NODE ) )
73 sensor_user_struct%NODE_LIST(1:j-1) = local_array(1:j-1)
74 sensor_user_struct%NODE_LIST(j:sensor_user_struct%NUMBER_NODE) = 0
76 DEALLOCATE( local_array )
78 sensor_user_struct%NODE_LIST(j) = array(i)
81 sensor_user_struct%POINTER_NODE = j