OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
mmain.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"
#include "param_c.inc"
#include "vect01_c.inc"
#include "scr17_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine mmain (pm, elbuf_str, ix, nix, x, geo, iparg, nel, skew, bufmat, ipart, ipartel, nummat, matparam, imat, ipm, ngl, pid, npf, tf, mfxx, mfxy, mfxz, mfyx, mfyy, mfyz, mfzx, mfzy, mfzz, rx, ry, rz, sx, sy, sz, gama, voln, dvol, s1, s2, s3, s4, s5, s6, dxx, dyy, dzz, d4, d5, d6, wxx, wyy, wzz)

Function/Subroutine Documentation

◆ mmain()

subroutine mmain ( pm,
type (elbuf_struct_), target elbuf_str,
integer, dimension(nix,*) ix,
integer, intent(in) nix,
x,
geo,
integer, dimension(*) iparg,
integer, intent(in) nel,
skew,
bufmat,
integer, dimension(lipart1,*) ipart,
integer, dimension(*) ipartel,
integer, intent(in) nummat,
type(matparam_struct_), dimension(nummat), intent(inout) matparam,
integer, intent(in) imat,
integer, dimension(npropmi,*) ipm,
integer, dimension(*) ngl,
integer, dimension(*) pid,
integer, dimension(*) npf,
tf,
mfxx,
mfxy,
mfxz,
mfyx,
mfyy,
mfyz,
mfzx,
mfzy,
mfzz,
rx,
ry,
rz,
sx,
sy,
sz,
gama,
voln,
dvol,
s1,
s2,
s3,
s4,
s5,
s6,
dxx,
dyy,
dzz,
d4,
d5,
d6,
wxx,
wyy,
wzz )

Definition at line 32 of file mmain.F.

43C-----------------------------------------------
44C M o d u l e s
45C-----------------------------------------------
46 USE mat_elem_mod
47C-----------------------------------------------
48C I m p l i c i t T y p e s
49C-----------------------------------------------
50#include "implicit_f.inc"
51C-----------------------------------------------
52C G l o b a l P a r a m e t e r s
53C-----------------------------------------------
54#include "mvsiz_p.inc"
55C-----------------------------------------------
56C C o m m o n B l o c k s
57C-----------------------------------------------
58#include "param_c.inc"
59#include "vect01_c.inc"
60#include "scr17_c.inc"
61C-----------------------------------------------
62C D u m m y A r g u m e n t s
63C-----------------------------------------------
64 INTEGER ,INTENT(IN) :: NUMMAT
65 INTEGER ,INTENT(IN) :: IMAT
66 INTEGER ,INTENT(IN) :: NIX,NEL
67 INTEGER IX(NIX,*), IPARG(*),
68 . IPART(LIPART1,*),IPARTEL(*),IPM(NPROPMI,*),
69 . NGL(*), PID(*), NPF(*)
71 . x(*), geo(*), pm(npropm,*),
72 . skew(lskew,*),bufmat(*),
73 . mfxx(*) ,mfxy(*) ,mfxz(*) ,mfyx(*) ,mfyy(*) ,
74 . mfyz(*) ,mfzx(*) ,mfzy(*) ,mfzz(*) ,
75 . rx(*) ,ry(*) ,rz(*) ,
76 . sx(*) ,sy(*) ,sz(*) ,gama(nel,6),
77 . voln(*) ,dvol(*),
78 . tf(*) ,dxx(*) ,dyy(*) ,dzz(*),
79 . d4(*) ,d5(*) ,d6(*),
80 . wxx(*) ,wyy(*) ,wzz(*),
81 . s1(*) ,s2(*) ,s3(*) ,
82 . s4(*) ,s5(*) ,s6(*)
83 TYPE (ELBUF_STRUCT_), TARGET :: ELBUF_STR
84 TYPE(MATPARAM_STRUCT_) ,DIMENSION(NUMMAT) ,INTENT(INOUT) :: MATPARAM
85C-----------------------------------------------
86C L o c a l V a r i a b l e s
87C-----------------------------------------------
88 INTEGER NUVAR,NVARTMP,NUVARR
90 . tx(mvsiz), ty(mvsiz), tz(mvsiz),
91 . vis(mvsiz), cxx(mvsiz), off(mvsiz), epsd(mvsiz)
92C-----
93 TYPE(G_BUFEL_) ,POINTER :: GBUF
94 TYPE(L_BUFEL_) ,POINTER :: LBUF
95 TYPE(BUF_MAT_) ,POINTER :: MBUF
96C=======================================================================
97 IF (mtn >= 28 .AND. mtn /= 49.OR.mtn ==1) THEN
98 gbuf => elbuf_str%GBUF
99 lbuf => elbuf_str%BUFLY(1)%LBUF(1,1,1)
100 mbuf => elbuf_str%BUFLY(1)%MAT(1,1,1)
101 nuvar = elbuf_str%BUFLY(1)%NVAR_MAT
102 nvartmp = elbuf_str%BUFLY(1)%NVARTMP
103 off = one
104 epsd = zero
105C
106 CALL mulaw(lft ,llt ,nft ,mtn ,jcvt ,
107 2 pm ,off ,gbuf%SIG ,gbuf%EINT,gbuf%RHO,
108 3 gbuf%VOL ,lbuf%STRA,gama ,
109 4 mbuf%VAR ,bufmat ,tf ,npf ,
110 5 imat ,ngl ,nuvar ,nvartmp, mbuf%VARTMP,
111 6 geo ,pid ,epsd ,
112 8 wxx ,wyy ,wzz ,jsph ,cxx ,
113 a voln ,vis ,dxx ,
114 b dyy ,dzz ,d4 ,d5 ,d6 ,
115 c dvol ,s1 ,s2 ,s3 ,s4 ,
116 d s5 ,s6 ,rx ,ry ,rz ,
117 e sx ,sy ,sz ,tx ,ty ,
118 f tz ,ismstr ,
119 g mfxx ,mfxy ,mfxz ,mfyx ,mfyy ,
120 h mfyz ,mfzx ,mfzy ,mfzz ,ipm ,
121 i isorth ,nel ,matparam)
122 j
123 ENDIF
124C------------
125 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine mulaw(lft, llt, nft, mtn, jcvt, pm, off, sig, eint, rho, vol, strain, gama, uvar, bufmat, tf, npf, imat, ngl, nuvar, nvartmp, vartmp, geo, pid, epsd, wxx, wyy, wzz, jsph, ssp, voln, vis, d1, d2, d3, d4, d5, d6, dvol, sold1, sold2, sold3, sold4, sold5, sold6, rx, ry, rz, sx, sy, sz, tx, ty, tz, ismstr, mfxx, mfxy, mfxz, mfyx, mfyy, mfyz, mfzx, mfzy, mfzz, ipm, isorth, nel, matparam)
Definition mulaw.F:54