60 TYPE(t_region
),
POINTER :: regions(:)
63 INTEGER :: ireg, ipatch, ipass
66 INTEGER :: bctype, iregsrc, ipatchsrc
68 TYPE(t_grid),
POINTER ::
grid, gridold, gridsrc
74 global => regions(1)%global
77 'RFLO_MoveGridInterfaces.F90' )
85 DO ireg=1,global%nRegions
86 IF (regions(ireg)%procid==global%myProcid .AND. &
87 regions(ireg)%active==active .AND. &
88 regions(ireg)%mixtInput%moveGrid)
THEN
90 grid => regions(ireg)%levels(1)%grid
91 gridold => regions(ireg)%levels(1)%gridOld
93 DO ipatch=1,regions(ireg)%nPatches
94 patch => regions(ireg)%levels(1)%patches(ipatch)
96 IF ((bctype>=bc_regionconf .AND. bctype<=bc_regionconf+bc_range) .OR. &
97 (bctype>=bc_tra_peri .AND. bctype<=bc_tra_peri +bc_range) .OR. &
98 (bctype>=bc_rot_peri .AND. bctype<=bc_rot_peri +bc_range))
THEN
99 iregsrc =
patch%srcRegion
100 ipatchsrc =
patch%srcPatch
101 patchsrc => regions(iregsrc)%levels(1)%patches(ipatchsrc)
102 gridsrc => regions(iregsrc)%levels(1)%grid
104 IF (regions(iregsrc)%procid == global%myProcid)
THEN
106 patch,patchsrc,.false., &
107 grid%xyz,gridsrc%xyz )
111 gridold%xyzOld,
grid%xyz )
115 gridold%xyzOld,
grid%xyz )
128 DO ireg=1,global%nRegions
129 IF (regions(ireg)%procid==global%myProcid .AND. &
130 regions(ireg)%active==active .AND. &
131 regions(ireg)%mixtInput%moveGrid)
THEN
133 grid => regions(ireg)%levels(1)%grid
134 gridold => regions(ireg)%levels(1)%gridOld
136 DO ipatch=1,regions(ireg)%nPatches
137 patch => regions(ireg)%levels(1)%patches(ipatch)
138 bctype =
patch%bcType
139 IF ((bctype>=bc_regionconf .AND. bctype<=bc_regionconf+bc_range) .OR. &
140 (bctype>=bc_tra_peri .AND. bctype<=bc_tra_peri +bc_range) .OR. &
141 (bctype>=bc_rot_peri .AND. bctype<=bc_rot_peri +bc_range))
THEN
142 iregsrc =
patch%srcRegion
143 ipatchsrc =
patch%srcPatch
144 patchsrc => regions(iregsrc)%levels(1)%patches(ipatchsrc)
145 gridsrc => regions(iregsrc)%levels(1)%grid
147 IF (regions(iregsrc)%procid /= global%myProcid)
THEN
153 gridold%xyzOld,
grid%xyz )
157 gridold%xyzOld,
grid%xyz )
167 DO ireg=1,global%nRegions
168 IF (regions(ireg)%procid==global%myProcid .AND. &
169 regions(ireg)%active==active .AND. &
170 regions(ireg)%mixtInput%moveGrid)
THEN
subroutine registerfunction(global, funName, fileName)
subroutine rflo_exchangednoderecv(region, regionSrc, patch, patchSrc, average, dNode)
subroutine rflo_movegridinterfaces(regions)
subroutine rflo_clearsendrequests(regions, iReg, geometry)
subroutine rflo_exchangednodecopy(region, regionSrc, patch, patchSrc, average, dNode, dNodeSrc)
subroutine deregisterfunction(global)
subroutine rflo_exchangednodesend(region, regionSrc, patch, dNode)