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-----------------------------------------------
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
87 END
#define my_real
Definition cppsort.cpp:32
subroutine initwg_ressort(wd, pm, geo, ixr, igeo, numelr, ipm, nummat, numgeo, off)