OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
st_qaprint_multidomains.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> 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)
32
C-----------------------------------------------
33
C M o d u l e s
34
C-----------------------------------------------
35
USE
qa_out_mod
36
USE
r2r_mod
37
USE
groupdef_mod
38
C-----------------------------------------------
39
C I m p l i c i t T y p e s
40
C-----------------------------------------------
41
#include "implicit_f.inc"
42
C-----------------------------------------------
43
C C o m m o n B l o c k s
44
C-----------------------------------------------
45
#include "param_c.inc"
46
#include "scr17_c.inc"
47
#include "com04_c.inc"
48
#include "r2r_c.inc"
49
C-----------------------------------------------
50
C D u m m y A r g u m e n t s
51
C-----------------------------------------------
52
INTEGER
,
INTENT(IN)
::
IPART(LIPART1,*),IEXLNK(NR2R,*)
53
TYPE
(GROUP_) ,
INTENT(IN)
,
DIMENSION(NGRNOD)
:: IGRNOD
54
C--------------------------------------------------
55
C L o c a l V a r i a b l e s
56
C-----------------------------------------------
57
LOGICAL
:: OK_QA
58
CHARACTER (LEN=255)
:: VARNAME
59
INTEGER
:: I,J,ID,RLEN
60
DOUBLE PRECISION
:: TMPVAL
61
C-----------------------------------------------
62
C S o u r c e L i n e s
63
C-----------------------------------------------
64
IF
(nr2rlnk + nsubdom == 0)
RETURN
65
C
66
ok_qa =
myqakey
(
'/SUBDOMAIN'
)
67
C
68
IF
(ok_qa)
THEN
69
DO
i = 1, nsubdom
70
C
71
CALL
qaprint
(
'NB_SUBDOMAIN'
,nsubdom,0.0_8)
72
CALL
qaprint
(
'NB_PART_SUB'
,nb_part_sub,0.0_8)
73
C
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)
77
C
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
85
C
86
ok_qa =
myqakey
(
'/EXT/LINK'
)
87
C
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
97
C-----------------------------------------------
98
RETURN
99
END
100
groupdef_mod
Definition
groupdef_mod.F:662
qa_out_mod
Definition
qa_out_mod.F:78
qa_out_mod::myqakey
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
qa_out_mod::qaprint
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
r2r_mod
Definition
r2r_mod.F:125
r2r_mod::isubdom_part
integer, dimension(:), allocatable isubdom_part
Definition
r2r_mod.F:131
r2r_mod::isubdom
integer, dimension(:,:), allocatable isubdom
Definition
r2r_mod.F:144
st_qaprint_multidomains
subroutine st_qaprint_multidomains(ipart, iexlnk, igrnod)
Definition
st_qaprint_multidomains.F:32
starter
source
output
qaprint
st_qaprint_multidomains.F
Generated by
1.15.0