OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
thprin.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!|| thprin ../starter/source/output/th/thprin.F
25!||--- called by ------------------------------------------------------
26!|| hm_read_thgrou ../starter/source/output/th/hm_read_thgrou.F
27!||--- calls -----------------------------------------------------
28!|| fretitl2 ../starter/source/starter/freform.F
29!|| nintrn ../starter/source/system/nintrn.F
30!|| ulist2s ../starter/source/system/sysfus.F
31!|| usr2sys ../starter/source/system/sysfus.F
32!||--- uses -----------------------------------------------------
33!||====================================================================
34 SUBROUTINE thprin(
35 1 KEY ,IPASU ,NPASU ,NID ,
36 2 NVPS ,ITHBUF ,VARE ,NUM )
37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
41C-----------------------------------------------
42C M o d u l e s
43C-----------------------------------------------
45C-----------------------------------------------
46C I m p l i c i t T y p e s
47C-----------------------------------------------
48#include "implicit_f.inc"
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52#include "scr17_c.inc"
53#include "scr03_c.inc"
54#include "units_c.inc"
55C-----------------------------------------------
56C D u m m y A r g u m e n t s
57C-----------------------------------------------
58 INTEGER NPASU,NUM,NVG,NID,NVPS,
59 . IPASU(NPASU,*),ITHBUF(*)
60 CHARACTER*10 VARE(*),KEY
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER J,JJ, I,ISU,ID,NNE,NOSYS,J10(10),NTOT,KK,IER,
65 . OK,IGS,IGRS,NSU,K,L,JREC,CONT,IAD0,IADV,NTRI,NL,
66 . ifitmp,iadfin,nvar,m,n,iad2,iad1,isk,iproc
67 CHARACTER(LEN=NCHARTITLE) :: TITR
68 CHARACTER MESS*40
69C-----------------------------------------------
70C E x t e r n a l F u n c t i o n s
71C-----------------------------------------------
72 INTEGER USR2SYS,ULIST2S,LISTCNT,NINTRN,THVARC
73 DATA MESS/'TH GROUP DEFINITION '/
74C-----------------------------------------------
75C
76C
77C-----------------------------------------------
78C=======================================================================
79C PRINTOUT
80C=======================================================================
81 IF(ipri<1)RETURN
82C
83 WRITE(iout,'(//)')
84 WRITE(iout,'(2A)')' TH GROUP: ',key
85 WRITE(iout,'(A)') ' ---------'
86
87 DO n=1,num
88 nvar=ipasu(nvps,n)
89 IF(nvar>0)THEN
90 iad1=ipasu(nvps+1,n)
91 id=ipasu(nid,n)
92 CALL fretitl2(titr,ipasu(npasu-ltitr+1,n),ltitr)
93 WRITE(iout,'(/,3A,I10,3A,I3,A)')' TH ',key,':',id,',',trim(titr),',',nvar,' VAR:'
94 WRITE(iout,'(10A10)')(vare(ithbuf(j)),j=iad1,iad1+nvar-1)
95 ENDIF
96 ENDDO
97C
98 RETURN
99 END
100!||====================================================================
101!|| thprin_sub ../starter/source/output/th/thprin.F
102!||--- called by ------------------------------------------------------
103!|| hm_read_thgrou ../starter/source/output/th/hm_read_thgrou.f
104!||--- calls -----------------------------------------------------
105!|| nintrn ../starter/source/system/nintrn.F
106!|| ulist2s ../starter/source/system/sysfus.F
107!|| usr2sys ../starter/source/system/sysfus.f
108!||--- uses -----------------------------------------------------
109!||====================================================================
110 SUBROUTINE thprin_sub(
111 1 KEY ,SUBSET ,ITHFLAG ,NID ,
112 2 NVPS ,ITHBUF ,VARE ,NUM )
113C-----------------------------------------------
114 USE groupdef_mod
116C-----------------------------------------------
117C I m p l i c i t T y p e s
118C-----------------------------------------------
119#include "implicit_f.inc"
120C-----------------------------------------------
121C C o m m o n B l o c k s
122C-----------------------------------------------
123#include "scr03_c.inc"
124#include "com04_c.inc"
125#include "units_c.inc"
126C-----------------------------------------------
127C D u m m y A r g u m e n t s
128C-----------------------------------------------
129 INTEGER NUM,NVG,NID,NVPS,
130 . ITHBUF(*),ITHFLAG
131 CHARACTER*10 VARE(*),KEY
132!
133 TYPE (SUBSET_) , DIMENSION(NSUBS) :: SUBSET
134C-----------------------------------------------
135C L o c a l V a r i a b l e s
136C-----------------------------------------------
137 INTEGER J,JJ, I,ISU,ID,NNE,NOSYS,J10(10),NTOT,KK,IER,
138 . OK,IGS,IGRS,NSU,K,L,JREC,CONT,IAD0,IADV,NTRI,NL,
139 . IFITMP,IADFIN,NVAR,M,N,IAD2,IAD1,ISK,IPROC
140 CHARACTER(LEN=NCHARTITLE) :: TITR
141 CHARACTER :: MESS*40
142C-----------------------------------------------
143C E x t e r n a l F u n c t i o n s
144C-----------------------------------------------
145 INTEGER USR2SYS,ULIST2S,LISTCNT,NINTRN,THVARC
146 DATA MESS/'TH GROUP DEFINITION '/
147C-----------------------------------------------
148C
149C
150C-----------------------------------------------
151C=======================================================================
152C PRINTOUT
153C=======================================================================
154 IF(ipri<1)RETURN
155C
156 WRITE(iout,'(//)')
157 WRITE(iout,'(2A)')' TH GROUP: ',key
158 WRITE(iout,'(A)') ' ---------'
159
160 DO n=1,num
161 nvar = subset(n)%NVARTH(ithflag)
162 IF(nvar>0)THEN
163 iad1=subset(n)%THIAD
164 id=subset(n)%ID
165 titr=subset(n)%TITLE
166 WRITE(iout,'(/,3A,I10,3A,I3,A)')' TH ',key,':',id,',',trim(titr),',',nvar,' VAR:'
167 WRITE(iout,'(10A10)')(vare(ithbuf(j)),j=iad1,iad1+nvar-1)
168 ENDIF
169 ENDDO
170C
171 RETURN
172 END
173
174
subroutine hm_read_thgrou(ithgrp, ithbuf, itab, itabm1, ixtg, ixs, ixq, ixc, ixt, ixp, ixr, kxx, ixx, ipart, ifi, nthwa, kxsp, ixri, iskwn, iframe, nthgrp2, pathid, suthid, fxbipm, iparth, nparth, nvparth, nvsubth, imerge, ithvar, flagabf, nvarabf, nom_opt, ptr_nopt_fxby, ptr_nopt_inter, ptr_nopt_rwall, ptr_nopt_sect, ptr_nopt_joint, ptr_nopt_monv, ptr_nopt_acc, ptr_nopt_skw, ptr_nopt_gau, ptr_nopt_clus, ptr_nopt_sphio, isphio, rfi, t_monvol, igrsurf, subset, ithflag, npby, lsubmodel, iparg, iparts, ipartq, ipartc, ipartt, ipartp, ipartr, ipartg, ipartx, ipartsp, ipartig3d, lithbufmx, map_tables, iflag, ptr_nopt_slipring, ptr_nopt_retractor, sensors, interfaces, ipari, dump_thnms1_file, itherm_fe, checksum, nsubdom, ipri)
integer, parameter nchartitle
integer function nvar(text)
Definition nvar.F:32
subroutine fretitl2(titr, iasc, l)
Definition freform.F:804
integer function usr2sys(iu, itabm1, mess, id)
Definition sysfus.F:160
program starter
Definition starter.F:39
subroutine thprin_sub(key, subset, ithflag, nid, nvps, ithbuf, vare, num)
Definition thprin.F:113
subroutine thprin(key, ipasu, npasu, nid, nvps, ithbuf, vare, num)
Definition thprin.F:37