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

Go to the source code of this file.

Functions/Subroutines

subroutine flush_remnode_array (ninter, npari, ipari, intbuf_tab)

Function/Subroutine Documentation

◆ flush_remnode_array()

subroutine flush_remnode_array ( integer, intent(in) ninter,
integer, intent(in) npari,
integer, dimension(npari,ninter), intent(in) ipari,
type(intbuf_struct_), dimension(ninter), intent(inout) intbuf_tab )
Parameters
[in]ninternumber of interface
[in]npari1rst dim of IPARI array
[in]ipariinterface data
[in,out]intbuf_tabinterface structure

Definition at line 29 of file flush_remnode_array.F.

30!$COMMENT
31! FLUSH_REMNODE_ARRAY description :
32! flush arrays and structure related to RMENODE algo
33!
34! FLUSH_REMNODE_ARRAY organization :
35! loop over the interfaces
36! * for interface type 24 --> flush structures and arrays
37!$ENDCOMMENT
38
39 USE intbufdef_mod
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER, INTENT(in) :: NINTER !< number of interface
48 INTEGER, INTENT(in) :: NPARI !< 1rst dim of IPARI array
49 INTEGER, DIMENSION(NPARI,NINTER), INTENT(in) :: IPARI !< interface data
50 TYPE(INTBUF_STRUCT_), DIMENSION(NINTER), INTENT(inout) :: INTBUF_TAB !< interface structure
51C-----------------------------------------------
52C L o c a l V a r i a b l e s
53C-----------------------------------------------
54 INTEGER :: N
55 INTEGER :: INTERFACE_TYPE,LOCAL_SIZE
56C-----------------------------------------------
57
58 ! ---------------------------
59 ! loop over the interface
60 DO n=1,ninter
61 interface_type = ipari(7,n)
62 IF(interface_type==24.OR.interface_type==25) THEN
63 local_size = size(intbuf_tab(n)%KREMNODE)
64 intbuf_tab(n)%KREMNODE(1:local_size) = 0
65 intbuf_tab(n)%S_REMNODE = 0
66
67 local_size = size(intbuf_tab(n)%KREMNODE_EDG)
68 intbuf_tab(n)%KREMNODE_EDG(1:local_size) = 0
69 intbuf_tab%S_KREMNODE_EDG = 0
70
71 local_size = size(intbuf_tab(n)%KREMNODE_E2S)
72 intbuf_tab(n)%KREMNODE_E2S(1:local_size) = 0
73 intbuf_tab%S_KREMNODE_E2S = 0
74
75 intbuf_tab(n)%S_REMNODE_EDG = 0
76 intbuf_tab(n)%S_REMNODE_E2S = 0
77 ENDIF
78 ENDDO
79 ! ---------------------------
80
81 RETURN