OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dealloc_shoot_inter.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine dealloc_shoot_inter (shoot_struct)

Function/Subroutine Documentation

◆ dealloc_shoot_inter()

subroutine dealloc_shoot_inter ( type(shooting_node_type), intent(inout) shoot_struct)

Definition at line 30 of file dealloc_shoot_inter.F.

31!$COMMENT
32! DEALLOC_SHOOT_INTER description
33! deallocation of SHOOT_STRUCT%array
34! DEALLOC_SHOOT_INTER organization
35!$ENDCOMMENT
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 TYPE(shooting_node_type), INTENT(inout) :: SHOOT_STRUCT ! structure for shooting node algo
45C-----------------------------------------------
46C L o c a l V a r i a b l e s
47C-----------------------------------------------
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