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