OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
initwg_ressort.F File Reference
#include "implicit_f.inc"
#include "param_c.inc"
#include "tablen_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine initwg_ressort (wd, pm, geo, ixr, igeo, numelr, ipm, nummat, numgeo, off)

Function/Subroutine Documentation

◆ initwg_ressort()

subroutine initwg_ressort ( real, dimension(*) wd,
pm,
geo,
integer, dimension(nixr,*) ixr,
integer, dimension(npropgi,*) igeo,
integer numelr,
integer, dimension(npropmi,*) ipm,
integer nummat,
integer numgeo,
integer off )

Definition at line 30 of file initwg_ressort.F.

32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
36 use element_mod , only : nixr
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44#include "param_c.inc"
45#include "tablen_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER NUMELR,OFF,
50 . NUMMAT,NUMGEO, IXR(NIXR,*), IGEO(NPROPGI,*),IPM(NPROPMI,*)
51C REAL OR REAL*8
53 . pm(npropm,*), geo(npropg,*)
54 REAL WD(*)
55C-----------------------------------------------
56 INTEGER NPN, MID, PID, JHBE, IGT, MLN,
57 . ISTRAIN, ITHK, IHBE, IPLA, ISSN, MTN, I, J, K,L,
58 . NFUNC,MPT,NPTS,NPTT,NPTR,NPTOT,IFLAG,JSROT,
59 . I_MID,I_PID,I_MID_OLD,I_PID_OLD,PUID,MUID,
60 . ELM_TYP,ELM_TYP_OLD,ILAW,ILAW_OLD,TEST_MAT,
61 . I_PRO,ISOL2,MID_OLD,PID_OLD,MUID_OLD,PUID_OLD,
62 . TEST,NFUNC1,NFUNC2,ITY
63
64 real
65 . wtype(3),fwihbe,fac8,
66 . tabmat(3),tabx(3),timmat,npt,telt,poids,w,
67 . batozmult,tmat
69 . cc, invtref,a,b,a1,a2
70 DATA wtype /0.5 ,1.4 , 1.4/
71! different spring kind : wtype(1) = type 4 /SPRING
72! wtype(2) = type 13 /SPR_BEAM
73! wtype(3) = default
74C-----------------------------------------------
75 DO i = 1, numelr
76 pid= ixr(1,i)
77 mtn= nint(geo(8,pid))
78 issn = 0
79 ity = igeo(11,pid)
80 poids = wtype(3)
81 IF(geo(5,pid)/=zero) issn=1
82C test elem delete
83 IF (wd(i+off)==0.)
84 . wd(i+off) = poids
85 ENDDO
86 RETURN
#define my_real
Definition cppsort.cpp:32