OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
st_qaprint_inivol.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!|| st_qaprint_inivol ../starter/source/output/qaprint/st_qaprint_inivol.F
25!||--- called by ------------------------------------------------------
26!|| st_qaprint_driver ../starter/source/output/qaprint/st_qaprint_driver.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!|| inivol_def_mod ../starter/share/modules1/inivol_mod.F
30!||====================================================================
31 SUBROUTINE st_qaprint_inivol()
32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
35 USE qa_out_mod
36 USE groupdef_mod
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46C
47C--------------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 LOGICAL :: OK_QA
51 CHARACTER (LEN=255) :: VARNAME
52 INTEGER KK,JJ
53 INTEGER ID,IPARTFILL,NBCONTY
54 INTEGER IPHASE,ICUMU,IREVERSED
55 DOUBLE PRECISION VFRAC
56 CHARACTER(LEN=NCHARTITLE) :: TITLE
57 DOUBLE PRECISION TEMP_DOUBLE
58C-----------------------------------------------
59C S o u r c e L i n e s
60C-----------------------------------------------
61 ok_qa = myqakey('/INIVOL')
62
63 IF (ok_qa) THEN
64
65 DO kk=1,num_inivol
66
67 id = inivol(kk)%ID
68 title = inivol(kk)%TITLE
69 nbconty = inivol(kk)%NUM_CONTAINER
70 ipartfill = inivol(kk)%PART_ID
71
72 WRITE(varname,'(A,I0,A)') 'INIVOL(',kk ,')%ID ='
73 CALL qaprint(varname(1:len_trim(varname)),id,0.0_8)
74 WRITE(varname,'(A,I0,A,A)') 'INIVOL(',kk ,')%TITLE =',title(1:len_trim(title))
75 CALL qaprint(varname(1:len_trim(varname)),0,0.0_8)
76 WRITE(varname,'(A,I0,A)') 'INIVOL(',kk ,')%NUM_CONTAINER ='
77 CALL qaprint(varname(1:len_trim(varname)),nbconty,0.0_8)
78 WRITE(varname,'(A,I0,A)') 'INIVOL(',kk ,')%PART_ID ='
79 CALL qaprint(varname(1:len_trim(varname)),ipartfill,0.0_8)
80
81 DO jj=1,nbconty
82
83 iphase = inivol(kk)%CONTAINER(jj)%SUBMAT_ID
84 icumu = inivol(kk)%CONTAINER(jj)%ICUMU
85 ireversed = inivol(kk)%CONTAINER(jj)%IREVERSED
86 vfrac = inivol(kk)%CONTAINER(jj)%VFRAC
87
88 WRITE(varname,'(A,I0,A,I0,A)') 'INIVOL(',kk ,')%CONTY(',jj,')%SUBMAT_ID ='
89 CALL qaprint(varname(1:len_trim(varname)),iphase,0.0_8)
90 WRITE(varname,'(A,I0,A,I0,A)') 'INIVOL(',kk ,')%CONTY(',jj,')%ICUMU ='
91 CALL qaprint(varname(1:len_trim(varname)),icumu,0.0_8)
92 WRITE(varname,'(A,I0,A,I0,A)') 'INIVOL(',kk ,')%CONTY(',jj,')%IREVERSED ='
93 CALL qaprint(varname(1:len_trim(varname)),ireversed,0.0_8)
94 WRITE(varname,'(A,I0,A,I0,A)') 'INIVOL(',kk ,')%CONTY(',jj,')%VFRAC ='
95 CALL qaprint(varname(1:len_trim(varname)),0,vfrac)
96
97 enddo! next JJ (next line)
98
99 enddo!next KK (next option)
100
101 ENDIF
102C-----------------------------------------------
103 RETURN
104 END
105
type(inivol_struct_), dimension(:), allocatable inivol
Definition inivol_mod.F:84
integer num_inivol
Definition inivol_mod.F:85
integer, parameter nchartitle
logical function myqakey(value)
@purpose Check if a given value is part of the values set by env variable Useful to make a condition ...
Definition qa_out_mod.F:694
subroutine qaprint(name, idin, value)
@purpose print one entry to QA extract file example of call for real print CALL QAPRINT('MY_LABEL',...
Definition qa_out_mod.F:390
subroutine st_qaprint_inivol()