OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
crk_coord_ini.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/.
23c
24!||====================================================================
25!|| crk_coord_ini ../engine/source/elements/xfem/crk_coord_ini.F
26!||--- called by ------------------------------------------------------
27!|| inixfem ../engine/source/elements/xfem/inixfem.F
28!|| resol ../engine/source/engine/resol.F
29!||--- uses -----------------------------------------------------
30!|| crackxfem_mod ../engine/share/modules/crackxfem_mod.F
31!||====================================================================
32 SUBROUTINE crk_coord_ini(ADDCNE_CRK,INOD_CRK,NODFT,NODLT,X,NODLEVXF)
33C-----------------------------------------------
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C C o m m o n B l o c k s
41C-----------------------------------------------
42C-----------------------------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER NODFT,NODLT,ADDCNE_CRK(*),INOD_CRK(*),NODLEVXF(*)
46 my_real x(3,*)
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER I,KK,N,NX,NCT,NC,ILEV,NLEV
51C=======================================================================
52 DO n = nodft,nodlt
53 nx = inod_crk(n) ! no node systeme xfem
54 IF (nx > 0) THEN
55C---
56 nct = addcne_crk(nx)-1 ! premiere adresse sky du node NX (sys_xfem)
57 nc = addcne_crk(nx+1)-addcne_crk(nx) ! nb elements connectes au noeud
58C---
59c initialisation coord noeuds phantomes par ply
60c
61 nlev = nodlevxf(nx) ! mono/multi (nb ilev /node)
62 DO kk = nct+1, nct+nc
63 DO ilev=1,nlev
64 crkavx(ilev)%X(1,kk) = x(1,n)
65 crkavx(ilev)%X(2,kk) = x(2,n)
66 crkavx(ilev)%X(3,kk) = x(3,n)
67 END DO
68 END DO
69 ENDIF
70 ENDDO
71C-----------
72 RETURN
73 END
#define my_real
Definition cppsort.cpp:32
subroutine crk_coord_ini(addcne_crk, inod_crk, nodft, nodlt, x, nodlevxf)
type(xfem_avx_), dimension(:), allocatable crkavx