OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
st_qaprint_userwi.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_userwi ../starter/source/output/qaprint/st_qaprint_userwi.F
25!||--- called by ------------------------------------------------------
26!|| st_qaprint_driver ../starter/source/output/qaprint/st_qaprint_driver.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!||====================================================================
30 SUBROUTINE st_qaprint_userwi(USER_WINDOWS)
31C-----------------------------------------------
32C M o d u l e s
33C-----------------------------------------------
34 USE qa_out_mod
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C C o m m o n B l o c k s
42C-----------------------------------------------
43#include "com01_c.inc"
44#include "param_c.inc"
45#include "scr10_c.inc"
46#include "units_c.inc"
47#include "scry_c.inc"
48C-----------------------------------------------
49C D u m m y A r g u m e n t s
50C-----------------------------------------------
51 TYPE(user_windows_),INTENT(IN) :: USER_WINDOWS
52C--------------------------------------------------
53C L o c a l V a r i a b l e s
54C-----------------------------------------------
55 LOGICAL :: OK_QA
56 CHARACTER (LEN=255) :: VARNAME
57 INTEGER I,J,ELEM_ID
58 DOUBLE PRECISION TEMP_DOUBLE
59C-----------------------------------------------
60C S o u r c e L i n e s
61C-----------------------------------------------
62
63
64C------------------------------------
65C /USERWI
66C------------------------------------
67
68 ok_qa = myqakey('/USERWI')
69
70 IF (ok_qa) THEN
71
72 DO i=1,user_windows%S_IUSER
73
74 WRITE(varname,'(A6,I1,A)') 'IUVAR(',i,')_'
75 CALL qaprint(varname(1:len_trim(varname)),user_windows%IUSER(i),0.0_8)
76
77 ENDDO ! DO I=1,USER_WINDOWS%S_IUSER
78
79 DO i=1,user_windows%S_USER
80 temp_double = user_windows%USER(i)
81 WRITE(varname,'(A5,I1,A)') 'UVAR(',i,')_'
82 CALL qaprint(varname(1:len_trim(varname)),0,temp_double)
83 ENDDO ! DO I=1,USER_WINDOWS%S_USER
84
85 DO i=1,user_windows%N_USERNODS
86 WRITE(varname,'(A6,I1,A)') 'USERNODS(',i,')_'
87 CALL qaprint(varname(1:len_trim(varname)),user_windows%USERNODS(i),0.0_8)
88 ENDDO ! DO I=1,USER_WINDOWS%S_IUSER
89
90 ENDIF ! IF (OK_QA) THEN
91
92C------------------------------------
93 RETURN
94 END
95
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_userwi(user_windows)