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

Go to the source code of this file.

Functions/Subroutines

subroutine copy_elbuf (elbuf_src, elbuf_tgt, iparg, ngroup)

Function/Subroutine Documentation

◆ copy_elbuf()

subroutine copy_elbuf ( type(elbuf_struct_), dimension(ngroup), target elbuf_src,
type(elbuf_struct_), dimension(ngroup), target elbuf_tgt,
integer, dimension(nparg,ngroup) iparg,
integer ngroup )

Definition at line 32 of file copy_elbuf.F.

33C-----------------------------------------------
34C M o d u l e s
35C-----------------------------------------------
36 USE elbufdef_mod
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44#include "param_c.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER NGROUP
49 INTEGER IPARG(NPARG,NGROUP)
50 TYPE(ELBUF_STRUCT_), DIMENSION(NGROUP) :: ELBUF_SRC,ELBUF_TGT
51 TARGET :: elbuf_src,elbuf_tgt
52C-----------------------------------------------
53C L o c a l V a r i a b l e s
54C-----------------------------------------------
55 INTEGER NG,
56 . NPGGTYPNLOC
57 INTEGER ! global variables
58 . G_POSZXYZ,
59 . G_VR_REPCVTN,
60 . G_FORPGPINCH,G_MOMPGPINCH,G_EPGPINCHXZ,G_EPGPINCHYZ,G_EPGPINCHZZ
61 INTEGER ! layer variables
62 . LY_UELR1PG
63 INTEGER ! local variables
64 . L_VKVLADB
65c-------------------------------------------------
66c copy the element buffer : ELBUF_SRC -> ELBUF_TGT
67c target must be allocated
68C=======================================================================
69 DO ng = 1,ngroup
70 CALL copy_elbuf_1(elbuf_src,elbuf_tgt,iparg,ngroup,ng)
71 ENDDO ! NG = 1,NGROUP
72C-----------------------------------------------
73 RETURN
subroutine copy_elbuf_1(elbuf_src, elbuf_tgt, iparg, ngroup, ng)