31
32
33
34
35
37
38
39
40#include "implicit_f.inc"
41
42
43
44 TYPE(shooting_node_type), INTENT(inout) :: SHOOT_STRUCT
45
46
47
48 IF(ALLOCATED(shoot_struct%SAVE_SURFACE) )DEALLOCATE( shoot_struct%SAVE_SURFACE )
49 IF(ALLOCATED(shoot_struct%SAVE_PROC) )DEALLOCATE( shoot_struct%SAVE_PROC )
50
51 IF(ALLOCATED(shoot_struct%SAVE_M_EDGE) )DEALLOCATE( shoot_struct%SAVE_M_EDGE )
52 IF(ALLOCATED(shoot_struct%SAVE_S_EDGE) )DEALLOCATE( shoot_struct%SAVE_S_EDGE )
53 IF(ALLOCATED(shoot_struct%SAVE_PROC_EDGE) )DEALLOCATE( shoot_struct%SAVE_PROC_EDGE)
54
55 IF(ALLOCATED(shoot_struct%GLOBAL_ELEM_INDEX) ) DEALLOCATE(shoot_struct%GLOBAL_ELEM_INDEX)
56 shoot_struct%NUMBER_REMOTE_SURF = 0
57 shoot_struct%SIZE_REMOTE_SURF = 0
58 IF(ALLOCATED(shoot_struct%REMOTE_SURF)) DEALLOCATE(shoot_struct%REMOTE_SURF)
59 ALLOCATE( shoot_struct%REMOTE_SURF(shoot_struct%SIZE_REMOTE_SURF) )
60
61 shoot_struct%NUMBER_NEW_SURF = 0
62 shoot_struct%SIZE_NEW_SURF = 0
63 IF(ALLOCATED(shoot_struct%NEW_SURF)) DEALLOCATE(shoot_struct%NEW_SURF)
64 ALLOCATE( shoot_struct%NEW_SURF(shoot_struct%SIZE_NEW_SURF) )
65
66 RETURN