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