OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
laserp.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/.
23C 46d11+++
24!||====================================================================
25!|| laserp1 ../starter/source/loads/laser/laserp.F
26!||--- called by ------------------------------------------------------
27!|| lectur ../starter/source/starter/lectur.f
28!||--- calls -----------------------------------------------------
29!|| laserp2 ../starter/source/loads/laser/laserp.F
30!||====================================================================
31 SUBROUTINE laserp1(LAS ,CEP, IXQ)
32C
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "com04_c.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER LAS(*), IXQ(7,*), CEP(*)
45C-----------------------------------------------
46C L o c a l V a r i a b l e s
47C-----------------------------------------------
48 INTEGER I, K1, NL, NS1, NS2
49C
50 k1 = 1
51 DO 200 i=1,nlaser
52 nl = las(k1)
53 CALL laserp2(nl ,las(k1+6) ,cep, ixq)
54 k1 = k1 + 6 + 2*(nl+1)
55 200 CONTINUE
56C
57 RETURN
58 END
59C
60!||====================================================================
61!|| laserp2 ../starter/source/loads/laser/laserp.F
62!||--- called by ------------------------------------------------------
63!|| laserp1 ../starter/source/loads/laser/laserp.F
64!||====================================================================
65 SUBROUTINE laserp2(NL ,LAS ,CEP ,IXQ)
66C-----------------------------------------------
67C I m p l i c i t T y p e s
68C-----------------------------------------------
69#include "implicit_f.inc"
70C-----------------------------------------------
71C C o m m o n B l o c k s
72C-----------------------------------------------
73#include "com04_c.inc"
74C-----------------------------------------------
75C D u m m y A r g u m e n t s
76C-----------------------------------------------
77 INTEGER NL, CEP(*), LAS(2,*),IXQ(7,*)
78C-----------------------------------------------
79C L o c a l V a r i a b l e s
80C-----------------------------------------------
81 INTEGER IL, NG, II, NEXT
82C--------------------------------------------------
83C RECHERCHE DE L'ELEMENT ET AFFECTATION A P0
84C--------------------------------------------------
85 DO il=1,nl+1
86 next = las(1,il)
87 DO ii = 1, numelq
88 IF(ixq(7,ii)==next) THEN
89C LAS(1,IL) = NG
90C LAS(2,IL) = I
91C 46d11 on force les elements laser sur p0
92 cep(ii) = 0
93 GOTO 180
94 ENDIF
95 ENDDO
96 180 CONTINUE
97C
98 ENDDO
99C
100 RETURN
101 END
102C
103!||====================================================================
104!|| laserp3 ../starter/source/loads/laser/laserp.F
105!||--- called by ------------------------------------------------------
106!|| lectur ../starter/source/starter/lectur.F
107!||--- calls -----------------------------------------------------
108!|| laserp4 ../starter/source/loads/laser/laserp.F
109!||====================================================================
110 SUBROUTINE laserp3(LAS ,IPARG)
111C
112C-----------------------------------------------
113C I m p l i c i t T y p e s
114C-----------------------------------------------
115#include "implicit_f.inc"
116C-----------------------------------------------
117C C o m m o n B l o c k s
118C-----------------------------------------------
119#include "com04_c.inc"
120#include "param_c.inc"
121C-----------------------------------------------
122C D u m m y A r g u m e n t s
123C-----------------------------------------------
124 INTEGER LAS(*), IPARG(NPARG,*)
125C-----------------------------------------------
126C L o c a l V a r i a b l e s
127C-----------------------------------------------
128 INTEGER I, K1, NL
129C
130 k1 = 1
131 DO 200 i=1,nlaser
132 nl = las(k1)
133 CALL laserp4(nl ,las(k1+6) ,iparg)
134 k1 = k1 + 6 + 2*(nl+1)
135 200 CONTINUE
136C
137 RETURN
138 END
139C
140!||====================================================================
141!|| laserp4 ../starter/source/loads/laser/laserp.F
142!||--- called by ------------------------------------------------------
143!|| laserp3 ../starter/source/loads/laser/laserp.F
144!||====================================================================
145 SUBROUTINE laserp4(NL ,LAS ,IPARG)
146C-----------------------------------------------
147C I m p l i c i t T y p e s
148C-----------------------------------------------
149#include "implicit_f.inc"
150C-----------------------------------------------
151C C o m m o n B l o c k s
152C-----------------------------------------------
153#include "param_c.inc"
154C-----------------------------------------------
155C D u m m y A r g u m e n t s
156C-----------------------------------------------
157 INTEGER NL, LAS(2,*), IPARG(NPARG,*)
158C-----------------------------------------------
159C L o c a l V a r i a b l e s
160C-----------------------------------------------
161 INTEGER IL, NG, NN, NG_L
162C--------------------------------------------------
163C Renumerotation locale du no de groupe pour proc0
164C--------------------------------------------------
165 DO il=1,nl+1
166 ng = las(1,il)
167 ng_l = 0
168 DO nn = 1, ng
169 IF(iparg(32,nn)==0) ng_l = ng_l + 1
170 ENDDO
171 las(1,il) = ng_l
172C
173 ENDDO
174C
175 RETURN
176 END
subroutine laserp4(nl, las, iparg)
Definition laserp.F:146
subroutine laserp2(nl, las, cep, ixq)
Definition laserp.F:66
subroutine laserp1(las, cep, ixq)
Definition laserp.F:32
subroutine laserp3(las, iparg)
Definition laserp.F:111
subroutine lectur(multi_fvm, lsubmodel, is_dyna, detonators, ebcs_tab, seatbelt_converted_elements, nb_seatbelt_shells, nb_dyna_include, user_windows, output, mat_elem, names_and_titles, defaults, glob_therm, pblast, sensor_user_struct)
Definition lectur.F:533
program starter
Definition starter.F:39