OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
lagm_ini.F File Reference
#include "implicit_f.inc"
#include "param_c.inc"
#include "com04_c.inc"
#include "lagmult.inc"
#include "scr17_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine lagm_ini (nhf, iadhf, iadll, jll, lll, ipari, intbuf_tab, igrnod, ibcslag, mass, iner, gjbufi, ibufnc, ibufnn, ibufdl, ibufsk, ibfv, vel, itab, nom_opt, ptr_nopt_inter, ptr_nopt_fxv, ptr_nopt_bcs, ptr_nopt_mpc, ptr_nopt_gjoint)

Function/Subroutine Documentation

◆ lagm_ini()

subroutine lagm_ini ( integer nhf,
integer, dimension(*) iadhf,
integer, dimension(*) iadll,
integer, dimension(*) jll,
integer, dimension(*) lll,
integer, dimension(npari,ninter) ipari,
type(intbuf_struct_), dimension(*) intbuf_tab,
type (group_), dimension(ngrnod) igrnod,
integer, dimension(5,*) ibcslag,
mass,
iner,
integer, dimension(lkjni,*) gjbufi,
integer, dimension(*) ibufnc,
integer, dimension(*) ibufnn,
integer, dimension(*) ibufdl,
integer, dimension(*) ibufsk,
integer, dimension(nifv,*) ibfv,
vel,
integer, dimension(*) itab,
integer, dimension(lnopt1,*) nom_opt,
integer ptr_nopt_inter,
integer ptr_nopt_fxv,
integer ptr_nopt_bcs,
integer ptr_nopt_mpc,
integer ptr_nopt_gjoint )

Definition at line 37 of file lagm_ini.F.

43C-----------------------------------------------
44C M o d u l e s
45C-----------------------------------------------
46 USE message_mod
47 USE intbufdef_mod
48 USE groupdef_mod
49C----------------------------------------------------------------
50C I m p l i c i t T y p e s
51C-----------------------------------------------
52#include "implicit_f.inc"
53C-----------------------------------------------
54C C o m m o n B l o c k s
55C-----------------------------------------------
56#include "param_c.inc"
57#include "com04_c.inc"
58#include "lagmult.inc"
59#include "scr17_c.inc"
60C-----------------------------------------------
61C D u m m y A r g u m e n t s
62C-----------------------------------------------
63 INTEGER NHF
64 INTEGER IADHF(*), IADLL(*), JLL(*), LLL(*),
65 . IPARI(NPARI,NINTER),IBCSLAG(5,*),
66 . GJBUFI(LKJNI,*),IBFV(NIFV,*),
67 . IBUFNC(*),IBUFNN(*),IBUFDL(*),IBUFSK(*),ITAB(*)
69 . vel(lfxvelr,*),mass(*),iner(*)
70 INTEGER NOM_OPT(LNOPT1,*),PTR_NOPT_INTER,PTR_NOPT_FXV,
71 . PTR_NOPT_BCS,PTR_NOPT_MPC,PTR_NOPT_GJOINT
72 TYPE(INTBUF_STRUCT_) INTBUF_TAB(*)
73C-----------------------------------------------
74 TYPE (GROUP_) , DIMENSION(NGRNOD) :: IGRNOD
75C-----------------------------------------------
76C L o c a l V a r i a b l e s
77C-----------------------------------------------
78 INTEGER, ALLOCATABLE, DIMENSION(:,:) :: LTSM
79 INTEGER IC, IK, J, JC, NCF, HIJ, ERR
80C======================================================================|
81 ALLOCATE(ltsm(6,numnod), stat=err)
82 IF (err /= 0) THEN
83 CALL ancmsg(msgid=268,anmode=aninfo,msgtype=msgerror,
84 . c1='LTSM')
85 ENDIF
86 ncf = 0
87 ltsm = 0
88 nhf = 1
89 iadll(1) = 1
90 iadhf(1) = 1
91c---
92 IF (nbcslag > 0)
93 . CALL lgmini_bc(iadll ,jll ,lll ,igrnod ,ibcslag,
94 . mass ,iner ,ncf ,nom_opt(1,ptr_nopt_bcs+1))
95 CALL lgmini_i2(iadll ,jll ,lll ,intbuf_tab ,ipari ,ncf,
96 . mass, itab ,nom_opt(1,ptr_nopt_inter+1))
97 IF (ngjoint > 0)
98 . CALL lgmini_gj (iadll ,jll ,lll ,gjbufi ,ncf, mass,
99 . iner, itab ,nom_opt(1,ptr_nopt_gjoint+1))
100 IF (nummpc > 0)
101 . CALL lgmini_mpc(iadll ,jll ,lll ,ibufnc ,ibufnn ,
102 . ibufdl ,ibufsk ,ncf, mass, iner, itab ,
103 . nom_opt(1,ptr_nopt_mpc+1))
104 IF (nfvlag > 0)
105 . CALL lgmini_fxv(iadll ,jll ,lll ,ibfv ,vel ,
106 . ncf, mass, iner, itab,nom_opt(1,ptr_nopt_fxv+1))
107c---
108 DO ic=1,ncf
109 DO ik=iadll(ic),iadll(ic+1)-1
110 ltsm(jll(ik),lll(ik)) = 1
111 ENDDO
112 DO jc=ic+1,ncf
113 hij = 0
114 DO ik=iadll(jc),iadll(jc+1)-1
115 hij = hij + ltsm(jll(ik),lll(ik))
116 ENDDO
117 IF (hij > 0) nhf = nhf + 1
118 ENDDO
119 iadhf(ic+1) = nhf
120 DO ik=iadll(ic),iadll(ic+1)-1
121 ltsm(jll(ik),lll(ik)) = 0
122 ENDDO
123 ENDDO
124 nhf = nhf-1
125 IF (ALLOCATED(ltsm)) DEALLOCATE(ltsm)
126C-----------
127 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine lgmini_bc(iadll, jll, lll, igrnod, ibcslag, mass, iner, nc, nom_opt)
Definition lgmini_bc.F:35
subroutine lgmini_fxv(iadll, jll, lll, ibfv, vel, nc, mass, iner, itab, nom_opt)
Definition lgmini_fxv.F:35
subroutine lgmini_gj(iadll, jll, lll, gjbufi, nc, mass, iner, itab, nom_opt)
Definition lgmini_gj.F:38
subroutine lgmini_i2(iadll, jll, lll, intbuf_tab, ipari, nc, mass, itab, nom_opt)
Definition lgmini_i2.F:35
subroutine lgmini_mpc(iadll, jll, lll, ibufnc, ibufnn, ibufdl, ibufsk, nc, mass, iner, itab, nom_opt)
Definition lgmini_mpc.F:36
subroutine jc(p, t, a, b, cm, cn, tref, tm, epsm, sigmam, jc_yield, tan_jc)
Definition sigeps106.F:339
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:889