32
33
34
38
39
40
41#include "implicit_f.inc"
42
43
44
45#include "param_c.inc"
46#include "scr17_c.inc"
47#include "com04_c.inc"
48#include "r2r_c.inc"
49
50
51
52 INTEGER, INTENT(IN) :: IPART(,*),IEXLNK(NR2R,*)
53 TYPE (GROUP_) , INTENT(IN), DIMENSION(NGRNOD) :: IGRNOD
54
55
56
57 LOGICAL :: OK_QA
58 CHARACTER (LEN=255) :: VARNAME
59 INTEGER :: I,J,ID,RLEN
60 DOUBLE PRECISION :: TMPVAL
61
62
63
64 IF(nr2rlnk + nsubdom == 0) RETURN
65
67
68 IF (ok_qa) THEN
69 DO i = 1, nsubdom
70
71 CALL qaprint(
'NB_SUBDOMAIN',nsubdom,0.0_8)
72 CALL qaprint('nb_part_sub
',NB_PART_SUB,0.0_8)
73
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
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
86 OK_QA = MYQAKEY('/ext/link')
87
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
98 RETURN
logical function myqakey(value)
@purpose Check if a given value is part of the values set by env variable Useful to make a condition ...
subroutine qaprint(name, idin, value)
@purpose print one entry to QA extract file example of call for real print CALL QAPRINT('MY_LABEL',...