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

Go to the source code of this file.

Functions/Subroutines

subroutine c_pxfem (cep, p, nodglob, ielpxfem, inodpxfem, iel_l, inod_l, numelc, numnod_l, numelc_l, nelpxfe_l, numnodpxfe_l, index)

Function/Subroutine Documentation

◆ c_pxfem()

subroutine c_pxfem ( integer, dimension(*) cep,
integer p,
integer, dimension(*) nodglob,
integer, dimension(*) ielpxfem,
integer, dimension(*) inodpxfem,
integer, dimension(*) iel_l,
integer, dimension(*) inod_l,
integer numelc,
integer numnod_l,
integer numelc_l,
integer nelpxfe_l,
integer numnodpxfe_l,
integer, dimension(*) index )

Definition at line 28 of file c_pxfem.F.

31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C C o m m o n B l o c k s
37C-----------------------------------------------
38#include "param_c.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER CEP(*), P,NELPXFE_L ,NUMNODPXFE_L,NODGLOB(*),
43 . NUMELC ,NUMNOD_L ,IELPXFEM(*),INODPXFEM(*),
44 . IEL_L(*),INOD_L(*),INDEX(*),NUMELC_L
45C-----------------------------------------------
46C L o c a l V a r i a b l e s
47C-----------------------------------------------
48 INTEGER I, J, NL_L, N,II,NEL_L,NEL1_L,JJ
49C
50ccc CEL_PXFEM(1:EPLYXFE) = 0
51C
52 iel_l(1:numelc_l) = 0
53 inod_l(1:numnod_l) = 0
54 nel_l = 0
55 nel1_l = 1
56 ii = 0
57C
58 DO i = 1, numelc
59 IF(cep(i)==p)THEN
60cc IEL_L(NEL1_L) = 0
61 ii = ielpxfem(i)
62 IF(ii > 0) THEN
63 nel_l = nel_l + 1
64cc CEL_PXFEM(II) = NEL_L
65 iel_l(nel1_l) = nel_l
66 ENDIF
67 nel1_l = nel1_l + 1
68 ENDIF
69 ENDDO
70C
71 nelpxfe_l = nel_l
72C
73 nl_l = 0
74 index(1:nplyxfe) = 0
75 DO i = 1, numnod_l
76 ii = nodglob(i)
77 jj = inodpxfem(ii)
78 IF(jj > 0)THEN
79 nl_l = nl_l + 1
80 inod_l(i) = nl_l
81 index(nl_l) = jj
82 ENDIF
83 END DO
84C
85 numnodpxfe_l = nl_l
86 RETURN