OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
st_qaprint_multidomains.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_multidomains ../starter/source/output/qaprint/st_qaprint_multidomains.F
25!||--- called by ------------------------------------------------------
26!|| st_qaprint_driver ../starter/source/output/qaprint/st_qaprint_driver.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!|| r2r_mod ../starter/share/modules1/r2r_mod.F
30!||====================================================================
31 SUBROUTINE st_qaprint_multidomains(IPART,IEXLNK,IGRNOD)
32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
35 USE qa_out_mod
36 USE r2r_mod
37 USE groupdef_mod
38C-----------------------------------------------
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "param_c.inc"
46#include "scr17_c.inc"
47#include "com04_c.inc"
48#include "r2r_c.inc"
49C-----------------------------------------------
50C D u m m y A r g u m e n t s
51C-----------------------------------------------
52 INTEGER, INTENT(IN) :: IPART(LIPART1,*),IEXLNK(NR2R,*)
53 TYPE (GROUP_) , INTENT(IN), DIMENSION(NGRNOD) :: IGRNOD
54C--------------------------------------------------
55C L o c a l V a r i a b l e s
56C-----------------------------------------------
57 LOGICAL :: OK_QA
58 CHARACTER (LEN=255) :: VARNAME
59 INTEGER :: I,J,ID,RLEN
60 DOUBLE PRECISION :: TMPVAL
61C-----------------------------------------------
62C S o u r c e L i n e s
63C-----------------------------------------------
64 IF(nr2rlnk + nsubdom == 0) RETURN
65C
66 ok_qa = myqakey('/SUBDOMAIN')
67C
68 IF (ok_qa) THEN
69 DO i = 1, nsubdom
70C
71 CALL qaprint('NB_SUBDOMAIN',nsubdom,0.0_8)
72 CALL qaprint('NB_PART_SUB',nb_part_sub,0.0_8)
73C
74 rlen = isubdom(7,i)
75 WRITE(varname,'(A)') dom_name(isubdom(8,i):isubdom(8,i)+rlen-1)
76 CALL qaprint(varname(1:len_trim(varname)),isubdom(2,i), 0.0_8)
77C
78 CALL qaprint('SUBDOMAIN NB PART',isubdom(1,i),0.0_8)
79 DO j=1,isubdom(1,i)
80 id = ipart(4,isubdom_part(isubdom(3,i)+j))
81 CALL qaprint('SUBDOMAIN -> PART ID',id,0.0_8)
82 ENDDO
83 ENDDO
84 ENDIF
85C
86 ok_qa = myqakey('/EXT/LINK')
87C
88 IF (ok_qa) THEN
89 DO i = 1, nr2rlnk
90 CALL qaprint('EXTLNK ID ',iexlnk(2,i),0.0_8)
91 CALL qaprint('EXTLNK GROUP ID ',igrnod(iexlnk(1,i))%ID,0.0_8)
92 CALL qaprint('EXTLNK ID DOM1 ',iexlnk(2,i),0.0_8)
93 CALL qaprint('EXTLNK ID DOM2 ',iexlnk(3,i),0.0_8)
94 CALL qaprint('EXTLNK TYPE ' ,iexlnk(4,i),0.0_8)
95 ENDDO
96 ENDIF
97C-----------------------------------------------
98 RETURN
99 END
100
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
integer, dimension(:), allocatable isubdom_part
Definition r2r_mod.F:131
integer, dimension(:,:), allocatable isubdom
Definition r2r_mod.F:144
subroutine st_qaprint_multidomains(ipart, iexlnk, igrnod)