OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
initwg_ressort.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!|| initwg_ressort ../starter/source/spmd/domain_decomposition/initwg_ressort.F
25!||--- called by ------------------------------------------------------
26!|| initwg ../starter/source/spmd/domain_decomposition/initwg.F
27!||--- uses -----------------------------------------------------
28!|| ddweights_mod ../starter/share/modules1/ddweights_mod.F
29!||====================================================================
30 SUBROUTINE initwg_ressort(WD,PM,GEO,IXR,IGEO,
31 . NUMELR,IPM,NUMMAT,NUMGEO,OFF)
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
86 END
#define my_real
Definition cppsort.cpp:32
subroutine initwg_ressort(wd, pm, geo, ixr, igeo, numelr, ipm, nummat, numgeo, off)