OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
thmonv.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!|| thmonv ../engine/source/output/th/thmonv.F
25!||--- called by ------------------------------------------------------
26!|| hist2 ../engine/source/output/th/hist2.F
27!||--- calls -----------------------------------------------------
28!|| fretitl2 ../engine/source/input/freform.F
29!|| wrtdes ../engine/source/output/th/wrtdes.F
30!||====================================================================
31 SUBROUTINE thmonv(J1 ,J2 ,ITHBUF ,L1 ,L2 ,
32 . WA ,FSAV ,FSAVVENT,IVOLU,IFORM)
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 "task_c.inc"
41#include "param_c.inc"
42C-----------------------------------------------
43 INTEGER ITHBUF(*),IVOLU(NIMV,*),IFORM
44 INTEGER J1,J2,L1,L2,K,IAD2
46 . wa(*),fsav(nthvki,*),fsavvent(5,*)
47C
48 INTEGER I,J,L,II,IADVENT,IV,KV,NVENT,ID_VENT,K1
49 CHARACTER TITR1*40,ID_TITR1*2
50C
51C gather deja effectue, seul p0 ecrit
52 IF (ispmd==0) THEN
53 ii = 0
54 DO j=j1,j2
55 DO l=l1,l2
56 ii=ii+1
57 wa(ii) = zero
58 ENDDO
59 ENDDO
60c
61 ii = 0
62 id_vent = 0
63 iad2=j1+3*((j2-j1)+1)
64 DO j=j1,j2
65 i=ithbuf(j)
66 CALL fretitl2(titr1,ithbuf(iad2),40)
67 id_titr1(1:2) = titr1(21:22)
68 READ(id_titr1,fmt='(I2)',err=100) id_vent
69100 CONTINUE
70c
71 DO l=l1,l2
72 k=ithbuf(l)
73 k1 = (k-101)/5+1
74 ii=ii+1
75 IF(k<=nthvki)THEN
76 wa(ii)=fsav(k,i)
77 ELSEIF(k>=100)THEN
78C variables additionnelles AOUTi,BOUTi,UOUTi,MOUTi,HOUTi
79 kv=mod(k-101,5)+1
80 iv=id_vent
81 iadvent=ivolu(16,i)
82 nvent=ivolu(11,i)
83 IF (iv<=nvent) THEN
84 wa(ii) =fsavvent(kv,iadvent+iv)
85 END IF
86 END IF
87 ENDDO
88 iad2 = iad2 + 40
89 ENDDO
90 IF(ii>0)CALL wrtdes(wa,wa,ii,iform,1)
91 ENDIF
92C
93 RETURN
94 END
#define my_real
Definition cppsort.cpp:32
subroutine fretitl2(titr, iasc, l)
Definition freform.F:804
subroutine thmonv(j1, j2, ithbuf, l1, l2, wa, fsav, fsavvent, ivolu, iform)
Definition thmonv.F:33
subroutine wrtdes(a, ia, l, iform, ir)
Definition wrtdes.F:45