65 TYPE(t_region
) :: region
71 CHARACTER(CHRLEN) :: rcsidentstring
74 TYPE(t_patch),
POINTER :: ppatch
80 rcsidentstring =
'$RCSfile: RFLU_GetDeformation.F90,v $ $Revision: 1.10 $'
82 global => region%global
85 'RFLU_GetDeformation.F90')
91 IF ( global%myProcid == masterproc .AND. &
92 global%verbLevel >= verbose_high )
THEN
93 WRITE(stdout,
'(A,1X,A,1X,I3)') solver_name, &
94 'Getting displacements from Rocstar...'
97 DO ipatch=1,region%grid%nPatches
98 ppatch => region%patches(ipatch)
100 DO ibv = 1,ppatch%nBVert
101 ppatch%dXyz(xcoord,ibv) = ppatch%duAlp(xcoord,ibv)
102 ppatch%dXyz(ycoord,ibv) = ppatch%duAlp(ycoord,ibv)
103 ppatch%dXyz(zcoord,ibv) = ppatch%duAlp(zcoord,ibv)
106 DO ibv = ppatch%nBVert+1,ppatch%nBVertTot
107 ppatch%dXyz(xcoord,ibv) =
REAL(crazy_value_int,kind=rfreal)
108 ppatch%dXyz(ycoord,ibv) =
REAL(CRAZY_VALUE_INT,KIND=RFREAL)
109 ppatch%dXyz(zcoord,ibv) =
REAL(crazy_value_int,kind=rfreal)
112 IF ( global%myProcid == masterproc .AND. &
113 global%verbLevel >= verbose_high )
THEN
114 IF ( ppatch%nBVert > 0 )
THEN
115 WRITE(stdout,
'(A,3X,A,1X,I3)') solver_name,
'Patch:',ipatch
116 WRITE(stdout,
'(A,5X,A)') solver_name,
'Minimum/maximum values:'
117 WRITE(stdout,
'(A,7X,A,2(1X,E15.8))') solver_name,
'dXyz.x:', &
118 minval(ppatch%dXyz(xcoord,1:ppatch%nBVert)), &
119 maxval(ppatch%dXyz(xcoord,1:ppatch%nBVert))
120 WRITE(stdout,
'(A,7X,A,2(1X,E15.8))') solver_name,
'dXyz.y:', &
121 minval(ppatch%dXyz(ycoord,1:ppatch%nBVert)), &
122 maxval(ppatch%dXyz(ycoord,1:ppatch%nBVert))
123 WRITE(stdout,
'(A,7X,A,2(1X,E15.8))') solver_name,
'dXyz.z:', &
124 minval(ppatch%dXyz(zcoord,1:ppatch%nBVert)), &
125 maxval(ppatch%dXyz(zcoord,1:ppatch%nBVert))
134 IF ( global%myProcid == masterproc .AND. &
135 global%verbLevel >= verbose_high )
THEN
136 WRITE(stdout,
'(A,1X,A,1X,I3)') solver_name, &
137 'Getting displacements from Rocstar done.'
subroutine registerfunction(global, funName, fileName)
subroutine deregisterfunction(global)