OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
st_qaprint_composite_options.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_composite_options ../starter/source/output/qaprint/st_qaprint_composite_options.F
25!||--- called by ------------------------------------------------------
26!|| st_qaprint_driver ../starter/source/output/qaprint/st_qaprint_driver.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!|| drape_mod ../starter/share/modules1/drape_mod.F
30!||====================================================================
31 SUBROUTINE st_qaprint_composite_options(DRAPE, DRAPEG)
32C============================================================================
33C M o d u l e s
34C-----------------------------------------------
35 USE qa_out_mod
36 USE drape_mod
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 "com04_c.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 TYPE (DRAPE_), DIMENSION(NUMELC_DRAPE + NUMELTG_DRAPE), TARGET :: DRAPE
49 TYPE (DRAPEG_) :: DRAPEG
50 TYPE (DRAPE_PLY_) ,POINTER :: DRAPE_PLY
51C--------------------------------------------------
52C L o c a l V a r i a b l e s
53C-----------------------------------------------
54 INTEGER I,II,MY_ID,NPT,J,TEMP_INT,IE_DRAPE,KK,NSLICE,IP
55 CHARACTER (LEN=255) :: VARNAME
56 DOUBLE PRECISION TEMP_DOUBLE
57C-----------------------------------------------
58 IF (myqakey('/DRAPE')) THEN
59 DO i = 1,numelc+ numeltg
60 ie_drape = drapeg%INDX(i)
61 IF(ie_drape == 0) cycle
62 npt = drape(ie_drape)%NPLY
63 IF (npt > 0) THEN
64 IF (i <= numelc) THEN
65 WRITE(varname,'(A)') 'SHELL INTERNAL NUMBER'
66 temp_int = i
67 CALL qaprint(varname(1:len_trim(varname)),temp_int,0.0_8)
68 ELSE
69 WRITE(varname,'(A)') 'SH3N INTERNAL NUMBER'
70 temp_int = i
71 CALL qaprint(varname(1:len_trim(varname)),temp_int,0.0_8)
72 ENDIF
73 DO ii = 1, npt
74 ip = drape(ie_drape)%INDX_PLY(ii)
75 IF(ip == 0) cycle
76 drape_ply => drape(ie_drape)%DRAPE_PLY(ip)
77 nslice = drape_ply%NSLICE
78 WRITE(varname,'(A,I10)') 'IDDRAPE',ip
79 temp_int = drape_ply%IPID
80 CALL qaprint(varname(1:len_trim(varname)),temp_int,0.0_8)
81 DO kk =1,nslice
82 DO j = 1,2
83 WRITE(varname,'(A,I10,I10,I10)') 'IDRAPE',ii,kk,j
84 temp_int = drape_ply%IDRAPE(kk,j)
85 CALL qaprint(varname(1:len_trim(varname)),temp_int,0.0_8)
86 ENDDO
87 DO j = 1,2
88 WRITE(varname,'(A,I10,I10,I10)') 'RDRAPE',ii,kk,j
89 temp_double = drape_ply%RDRAPE(kk,j)
90 CALL qaprint(varname(1:len_trim(varname)),0,temp_double)
91 ENDDO
92 ENDDO
93 ENDDO
94 ENDIF
95 ENDDO
96 END IF
97C-----------------------------------------------------------------------
98 RETURN
99 END
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_composite_options(drape, drapeg)