OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
st_qaprint_multidomains.F File Reference
#include "implicit_f.inc"
#include "param_c.inc"
#include "scr17_c.inc"
#include "com04_c.inc"
#include "r2r_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine st_qaprint_multidomains (ipart, iexlnk, igrnod)

Function/Subroutine Documentation

◆ st_qaprint_multidomains()

subroutine st_qaprint_multidomains ( integer, dimension(lipart1,*), intent(in) ipart,
integer, dimension(nr2r,*), intent(in) iexlnk,
type (group_), dimension(ngrnod), intent(in) igrnod )

Definition at line 31 of file st_qaprint_multidomains.F.

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
initmumps id
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