OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
xfecut.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| xfecut ../engine/source/output/anim/generate/xfecut.F
25!||--- called by ------------------------------------------------------
26!|| genani ../engine/source/output/anim/generate/genani.F
27!||--- calls -----------------------------------------------------
28!|| xfeconnec3n ../engine/source/output/anim/generate/xfeconnec3n.F
29!|| xfeconnec4n ../engine/source/output/anim/generate/xfeconnec4n.F
30!||--- uses -----------------------------------------------------
31!|| crackxfem_mod ../engine/share/modules/crackxfem_mod.F
32!|| element_mod ../common_source/modules/elements/element_mod.F90
33!||====================================================================
34 SUBROUTINE xfecut(IPARG ,IXC ,IXTG ,ILEV ,ELCUTC ,
35 . IEL_CRK ,IADC_CRK,NODEDGE ,CRKEDGE,XEDGE4N ,
36 . XEDGE3N )
37C-----------------------------------------------
39 use element_mod , only : nixc,nixtg
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------
45C C o m m o n B l o c k s
46C-----------------------------------------------
47#include "param_c.inc"
48#include "com01_c.inc"
49#include "com04_c.inc"
50#include "com_xfem1.inc"
51C-----------------------------------------------
52C D u m m y A r g u m e n t s
53C-----------------------------------------------
54 INTEGER ILEV,IPARG(NPARG,*),IXC(NIXC,*),ELCUTC(2,*),IEL_CRK(*),
55 . IADC_CRK(*),IXTG(NIXTG,*),NODEDGE(2,*),XEDGE4N(4,*),XEDGE3N(3,*)
56 TYPE (XFEM_EDGE_) , DIMENSION(*) :: CRKEDGE
57C-----------------------------------------------
58C L o c a l V a r i a b l e s
59C-----------------------------------------------
60 INTEGER NG,NEL,JFT,JLT,NFT,IXFEM,ITY,ITG1,ITG2,ACTIFXFEM
61C=======================================================================
62 IF (nlevset > 0) THEN
63C---
64 itg1 = 1+numelc
65 itg2 = 1+4*ecrkxfec
66C
67 DO ng=1,ngroup
68 nel = iparg(2,ng)
69 nft = iparg(3,ng)
70 ity = iparg(5,ng)
71 ixfem = iparg(54,ng)
72 actifxfem = iparg(70,ng)
73 IF (ity/=3 .and. ity/=7) cycle
74 IF (ixfem == 0) cycle
75 IF (actifxfem == 0) cycle
76 jft = 1
77 jlt = nel
78C
79 IF (ity == 3) THEN
80 CALL xfeconnec4n(
81 . jft ,jlt ,nft ,ixc ,elcutc ,
82 . iel_crk ,iadc_crk,ilev ,nodedge ,crkedge ,
83 . xedge4n )
84 ELSE IF (ity == 7) THEN
85 CALL xfeconnec3n(
86 . jft ,jlt ,nft ,ixtg ,elcutc(1,itg1),
87 . iel_crk(itg1),iadc_crk(itg2),ilev ,nodedge,crkedge,
88 . xedge3n )
89 END IF
90 ENDDO
91 ENDIF
92C-----------
93 RETURN
94 END
subroutine xfeconnec3n(jft, jlt, nft, ixtg, elcutc, iel_crktg, iad_crktg, ilev, nodedge, crkedge, xedge3n)
Definition xfeconnec3n.F:35
subroutine xfeconnec4n(jft, jlt, nft, ixc, elcutc, iel_crk, iadc_crk, ilev, nodedge, crkedge, xedge4n)
Definition xfeconnec4n.F:34
subroutine xfecut(iparg, ixc, ixtg, ilev, elcutc, iel_crk, iadc_crk, nodedge, crkedge, xedge4n, xedge3n)
Definition xfecut.F:37