64 TYPE(t_region
),
POINTER :: pregion
70 CHARACTER(CHRLEN) :: rcsidentstring
71 INTEGER :: bcvirtcntr,ipatch
73 TYPE(t_patch),
POINTER :: ppatch
79 rcsidentstring =
'$RCSfile: RFLU_SetPatchPlotFlags.F90,v $ $Revision: 1.7 $'
81 global => pregion%global
84 'RFLU_SetPatchPlotFlags.F90')
86 IF ( global%myProcid == masterproc .AND. &
87 global%verbLevel > verbose_none )
THEN
88 WRITE(stdout,
'(A,1X,A)') solver_name,
'Setting patch plot flags...'
97 SELECT CASE ( pregion%mixtInput%dimens )
99 IF ( global%postPlotPatchFlag .EQV. .true. )
THEN
100 DO ipatch = 1,pregion%grid%nPatches
101 ppatch => pregion%patches(ipatch)
103 IF ( ppatch%bcType == bc_virtual )
THEN
104 bcvirtcntr = bcvirtcntr + 1
106 IF ( bcvirtcntr == 1 )
THEN
107 ppatch%plotFlag = .true.
109 ppatch%plotFlag = .false.
112 ppatch%plotFlag = .false.
116 DO ipatch = 1,pregion%grid%nPatches
117 ppatch => pregion%patches(ipatch)
119 ppatch%plotFlag = .true.
123 DO ipatch = 1,pregion%grid%nPatches
124 ppatch => pregion%patches(ipatch)
126 ppatch%plotFlag = .true.
129 CALL
errorstop(global,err_reached_default,__line__)
136 IF ( global%myProcid == masterproc .AND. &
137 global%verbLevel > verbose_none )
THEN
138 WRITE(stdout,
'(A,3X,A)') solver_name,
'Patch plot flag information:'
139 WRITE(stdout,
'(A,5X,A,1X,A,1X,A)') solver_name,
'Local',
'Global',
'Flag'
141 DO ipatch = 1,pregion%grid%nPatches
142 ppatch => pregion%patches(ipatch)
144 WRITE(stdout,
'(A,4X,I4,2X,I4,5X,L1)') solver_name,ipatch, &
145 ppatch%iPatchGlobal, &
154 IF ( global%myProcid == masterproc .AND. &
155 global%verbLevel > verbose_none )
THEN
156 WRITE(stdout,
'(A,1X,A)') solver_name,
'Setting patch plot flags done.'
subroutine registerfunction(global, funName, fileName)
subroutine rflu_setpatchplotflags(pRegion)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)