60 TYPE(t_region
),
TARGET :: region
65 CHARACTER(CHRLEN) :: rcsidentstring
70 INTEGER :: ilev,inoff,ijnoff,minidx,maxidx,segid
71 INTEGER :: homdir(diri:dirk),filterwidth(diri:dirk)
72 TYPE(t_turb),
POINTER :: turb
73 REAL(RFREAL),
POINTER :: segm(:,:),ffcofa(:,:),ffcofb(:,:)
74 REAL(RFREAL),
ALLOCATABLE :: ds(:)
78 rcsidentstring =
'$RCSfile: TURB_floLesGenCoFF.F90,v $'
80 global => region%global
82 'TURB_floLesGenCoFF.F90' )
86 ilev = region%currLevel
87 homdir(:) = region%turbInput%homDir(:)
88 filterwidth(:) = region%turbInput%filterWidth(:)
89 turb => region%levels(ilev)%turb
96 ALLOCATE( ds(minidx:maxidx) )
107 IF (homdir(diri) == off)
THEN
108 IF (filterwidth(diri)==filwidth_one)
THEN
111 segm => region%levels(ilev)%turb%workK
112 ffcofa => turb%ffCofi1I
113 ffcofb => turb%ffCofi2I
116 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
119 segm => region%levels(ilev)%turb%workJ
120 ffcofa => turb%ffCofi1J
121 ffcofb => turb%ffCofi2J
124 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
127 segm => region%levels(ilev)%turb%workK
128 ffcofa => turb%ffCofi1K
129 ffcofb => turb%ffCofi2K
132 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
134 ELSEIF ((filterwidth(diri)==filwidth_two) .OR. &
135 (filterwidth(diri)==filwidth_zero))
THEN
138 segm => region%levels(ilev)%turb%workK
139 ffcofa => turb%ffCofi2I
140 ffcofb => turb%ffCofi4I
143 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
146 segm => region%levels(ilev)%turb%workJ
147 ffcofa => turb%ffCofi2J
148 ffcofb => turb%ffCofi4J
151 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
154 segm => region%levels(ilev)%turb%workK
155 ffcofa => turb%ffCofi2K
156 ffcofb => turb%ffCofi4K
159 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
166 IF (homdir(dirj) == off)
THEN
167 IF (filterwidth(dirj)==filwidth_one)
THEN
170 segm => region%levels(ilev)%turb%workI
171 ffcofa => turb%ffCofj1J
172 ffcofb => turb%ffCofj2J
175 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
178 segm => region%levels(ilev)%turb%workI
179 ffcofa => turb%ffCofj1I
180 ffcofb => turb%ffCofj2I
183 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
186 segm => region%levels(ilev)%turb%workK
187 ffcofa => turb%ffCofj1K
188 ffcofb => turb%ffCofj2K
191 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
193 ELSEIF ((filterwidth(dirj)==filwidth_two) .OR. &
194 (filterwidth(dirj)==filwidth_zero))
THEN
197 segm => region%levels(ilev)%turb%workI
198 ffcofa => turb%ffCofj2J
199 ffcofb => turb%ffCofj4J
202 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
205 segm => region%levels(ilev)%turb%workI
206 ffcofa => turb%ffCofj2I
207 ffcofb => turb%ffCofj4I
210 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
213 segm => region%levels(ilev)%turb%workK
214 ffcofa => turb%ffCofj2K
215 ffcofb => turb%ffCofj4K
218 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
225 IF (homdir(dirk) == off)
THEN
226 IF (filterwidth(dirk)==filwidth_one)
THEN
229 segm => region%levels(ilev)%turb%workJ
230 ffcofa => turb%ffCofk1K
231 ffcofb => turb%ffCofk2K
234 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
237 segm => region%levels(ilev)%turb%workI
238 ffcofa => turb%ffCofk1I
239 ffcofb => turb%ffCofk2I
242 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
245 segm => region%levels(ilev)%turb%workJ
246 ffcofa => turb%ffCofk1J
247 ffcofb => turb%ffCofk2J
250 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
252 ELSEIF ((filterwidth(dirk)==filwidth_two) .OR. &
253 (filterwidth(dirk)==filwidth_zero))
THEN
256 segm => region%levels(ilev)%turb%workJ
257 ffcofa => turb%ffCofk2K
258 ffcofb => turb%ffCofk4K
261 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
264 segm => region%levels(ilev)%turb%workI
265 ffcofa => turb%ffCofk2I
266 ffcofb => turb%ffCofk4I
269 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
272 segm => region%levels(ilev)%turb%workJ
273 ffcofa => turb%ffCofk2J
274 ffcofb => turb%ffCofk4J
277 minidx,maxidx,segid,inoff,ijnoff,ds,segm,ffcofa,ffcofb )
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE ibeg
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
subroutine turb_flolesgencofflo(global, ijk, ibeg, iend, jbeg, jend, kbeg, kend, minIdx, maxIdx, segId, iNOff, ijNOff, ds, segm, ffCofA, ffCofB)
subroutine registerfunction(global, funName, fileName)
subroutine turb_flolesgencoffhi(global, ijk, ibeg, iend, jbeg, jend, kbeg, kend, minIdx, maxIdx, segId, iNOff, ijNOff, ds, segm, ffCofA, ffCofB)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE jdnbeg
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE idnend
subroutine rflo_getnodeoffset(region, iLev, iNodeOffset, ijNodeOffset)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE jdnend
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE idnbeg
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode iend
subroutine turb_flolesgencoff(region)
subroutine turb_flolesgencofclo(global, filtDir, ibeg, iend, jbeg, jend, kbeg, kend, minIdx, maxIdx, segId, iNOff, ijNOff, ds, segm, ffCofA, ffCofB)
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
subroutine turb_flolesgencofchi(global, filtDir, ibeg, iend, jbeg, jend, kbeg, kend, minIdx, maxIdx, segId, iNOff, ijNOff, ds, segm, ffCofA, ffCofB)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode jend
subroutine rflo_getdimensdummynodes(region, iLev, idnbeg, idnend, jdnbeg, jdnend, kdnbeg, kdnend)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode jbeg
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode kbeg
subroutine deregisterfunction(global)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE kdnbeg