OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
forints.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!|| forints ../engine/source/elements/forints.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- calls -----------------------------------------------------
28!|| initbuf ../engine/share/resol/initbuf.F
29!|| startimeg ../engine/source/system/timer.F
30!|| stoptimeg ../engine/source/system/timer.F
31!|| xforc3 ../engine/source/elements/xelem/xforc3.F
32!||--- uses -----------------------------------------------------
33!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
34!|| element_mod ../common_source/modules/elements/element_mod.F90
35!|| initbuf_mod ../engine/share/resol/initbuf.F
36!||====================================================================
37 SUBROUTINE forints(
38 1 PM ,GEO ,X ,A ,AR ,
39 2 V ,VR ,MS ,IN ,W ,
40 3 ELBUF ,VAL2 ,VEUL ,FV ,
41 4 STIFN ,STIFR ,FSKY ,TF ,BUFMAT ,
42 5 PARTSAV ,FANI ,FSAV ,
43 6 SKEW ,DT2T ,
44 7 IADS ,IPARG ,NPC ,IXS ,
45 8 NELTST ,ITYPTST ,IPART ,IPARTS ,ITAB ,
46 9 FSKYI ,BUFGEO ,KXX ,IXX ,ISKY ,
47 A IPARTX ,GRESAV ,GRTH ,
48 B IGRTH ,ELBUF_TAB )
49C-----------------------------------------------
50C M o d u l e s
51C-----------------------------------------------
52 USE initbuf_mod
53 USE elbufdef_mod
54 use element_mod , only : nixs
55C-----------------------------------------------
56C I m p l i c i t T y p e s
57C-----------------------------------------------
58#include "implicit_f.inc"
59C-----------------------------------------------
60C C o m m o n B l o c k s
61C-----------------------------------------------
62#include "com01_c.inc"
63#include "param_c.inc"
64#include "vect01_c.inc"
65#include "scr17_c.inc"
66#include "task_c.inc"
67#include "parit_c.inc"
68#include "scr23_c.inc"
69C-----------------------------------------------------------------
70C D u m m y A r g u m e n t s
71C-----------------------------------------------
72 INTEGER IXS(NIXS,*),IPART(LIPART1,*) ,IPARTS(*) ,
73 . NPC(*), IPARG(NPARG,*),IADS(8,*),NELTST,ITYPTST,
74 . KXX(NIXX,*),I XX(*), ITAB(*),
75 . IPARTX(*), ISKY(*),GRTH(*),IGRTH(*)
76C REAL
77 my_real
78 . X(3,*) ,V(3,*) ,VR(3,*),
79 . MS(*) ,IN(*) ,PM(NPROPM,*),SKEW(LSKEW,*),GEO(NPROPG,*),
80 . BUFMAT(*) ,W(3,*) ,VEUL(*),TF(*) ,
81 . FSAV(NTHVKI,*) ,ELBUF(*) ,
82 . FV(*) ,A(3,*) ,AR(3,*) ,VAL2(*) ,
83 . fani(3,*) ,partsav(*),stifn(*) ,stifr(*),
84 . fsky(*) ,
85 . dt2t,fskyi(lskyi,nfskyi) ,bufgeo(*),gresav(*)
86C
87 TYPE(elbuf_struct_), DIMENSION(NGROUP), TARGET :: ELBUF_TAB
88C-----------------------------------------------
89C L o c a l V a r i a b l e s
90C-----------------------------------------------
91 INTEGER NG, NVC,
92 . NELEM, OFFSET,
93 . NSG, NEL
94C-----------------------------------------------
95C
96 DO 240 NG=1,ngroup
97 IF(iparg(8,ng)==1.OR.iparg(5,ng)/=100)GOTO 240
98 IF (iddw>0) CALL startimeg(ng)
99 DO nelem = 1,iparg(2,ng),nvsiz
100C---
101C
102 offset = nelem - 1
103C
104 CALL initbuf(iparg ,ng ,
105 2 mtn ,nel ,nft ,iad ,ity ,
106 3 npt ,jale ,ismstr ,jeul ,jtur ,
107 4 jthe ,jlag ,jmult ,jhbe ,jivf ,
108 5 nvaux ,jpor ,jcvt ,jclose ,jplasol ,
109 6 irep ,iint ,igtyp ,israt ,isrot ,
110 7 icsen ,isorth ,isorthg ,ifailure,jsms )
111C
112 nsg =iparg(10,ng)
113 nvc =iparg(19,ng)
114 jhbe =iparg(23,ng)
115 igre =iparg(51,ng)
116C
117 lft=1
118 llt=min(nvsiz,nel-nelem+1)
119C Multi-Purpous element groups are constituted,
120C but Multi-purpose element is not supposed to be vectorized ..
121 CALL xforc3(
122 1 nft, nel, geo, pm,
123 2 itab, kxx, ixx, x,
124 3 v, vr, a, ar,
125 4 elbuf(iad), npc, tf, skew,
126 5 dt2t, neltst, ityptst, stifn,
127 6 stifr, ms, in, fskyi,
128 7 isky, partsav, ipartx, bufmat,
129 8 bufgeo, gresav, grth, igrth,
130 9 elbuf_tab(ng),igre)
131 IF (iddw>0) CALL stoptimeg(ng)
132 END DO
133 240 CONTINUE
134C----------------------------------
135 RETURN
136 END
subroutine startimeg(ng)
Definition timer.F:1371
subroutine stoptimeg(ng)
Definition timer.F:1419
subroutine forints(pm, geo, x, a, ar, v, vr, ms, in, w, elbuf, val2, veul, fv, stifn, stifr, fsky, tf, bufmat, partsav, fani, fsav, skew, dt2t, iads, iparg, npc, ixs, neltst, ityptst, ipart, iparts, itab, fskyi, bufgeo, kxx, ixx, isky, ipartx, gresav, grth, igrth, elbuf_tab)
Definition forints.F:49
#define min(a, b)
Definition macros.h:20
subroutine initbuf(iparg, ng, mtn, llt, nft, iad, ity, npt, jale, ismstr, jeul, jtur, jthe, jlag, jmult, jhbe, jivf, mid, jpor, jcvt, jclose, jpla, irep, iint, igtyp, israt, isrot, icsen, isorth, isorthg, ifailure, jsms)
Definition initbuf.F:261
subroutine xforc3(nft, nel, geo, pm, itab, kxx, ixx, x, v, vr, f, ar, ev, npc, pld, skew, dt2t, neltst, ityptst, stifn, stifr, ms, in, fskyi, isky, partsav, ipartx, bufmat, bufgeo, gresav, grth, igrth, elbuf_str, igre)
Definition xforc3.F:52