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

Go to the source code of this file.

Functions/Subroutines

subroutine deallocate_joint ()

Function/Subroutine Documentation

◆ deallocate_joint()

subroutine deallocate_joint

Definition at line 30 of file deallocate_joint.F.

31!$COMMENT
32! DEALLOCATE_JOINT description
33! deallocation of the joint structure
34!
35! DEALLOCATE_JOINT organization :
36!$ENDCOMMENT
37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE joint_mod
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C C o m m o n B l o c k s
47C-----------------------------------------------
48#include "com04_c.inc"
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER :: N
53 IF(njoint>0) THEN
54 ! ------------------------------
55 DO n=1,njoint
56 IF(cyl_join(n)%NUMBER_NODE>0) THEN
57 IF(ALLOCATED(cyl_join(n)%LIST_PROC) )DEALLOCATE( cyl_join(n)%LIST_PROC )
58 IF( ALLOCATED(cyl_join(n)%NODE) ) DEALLOCATE( cyl_join(n)%NODE )
59 IF( ALLOCATED(cyl_join(n)%WEIGHT) ) DEALLOCATE( cyl_join(n)%WEIGHT )
60 ENDIF
61 IF(ALLOCATED(cyl_join(n)%MAIN_NODE) )DEALLOCATE( cyl_join(n)%MAIN_NODE )
62 IF(ALLOCATED(cyl_join(n)%COMM_MPI%SIZE_SR) )DEALLOCATE( cyl_join(n)%COMM_MPI%SIZE_SR )
63 ENDDO
64 ! ------------------------------
65 ENDIF
66 IF(ALLOCATED(cyl_join) )DEALLOCATE( cyl_join )
67C
68 RETURN
type(joint_type), dimension(:), allocatable cyl_join
Definition joint_mod.F:61