53 inoff,ijnoff,ndel,idbeg,idend,fvar,filtvar )
66 TYPE(t_region
),
TARGET :: region
68 INTEGER :: ndel(diri:dirk),idbeg,idend
69 REAL(RFREAL),
POINTER :: fvar(:,:),filtvar(:,:)
72 INTEGER ::
i,
j,
k, l, ijkn, ijknb, ijkne
75 CHARACTER(CHRLEN) :: rcsidentstring
77 TYPE(t_turb) ,
POINTER :: turb
80 REAL(RFREAL) :: tmpb(idbeg:idend),tmpe(idbeg:idend)
81 REAL(RFREAL),
POINTER :: ffcof(:,:)
85 rcsidentstring =
'$RCSfile: TURB_floLesGenFiltFFI.F90,v $'
87 global => region%global
89 'TURB_floLesGenFiltFFI.F90' )
93 ilev = region%currLevel
94 turb => region%levels(ilev)%turb
98 IF (ndel(diri)==filwidth_zero)
THEN
104 ELSEIF ((ndel(diri)==filwidth_one) .OR. &
105 (ndel(diri)==filwidth_two))
THEN
107 IF (ndel(diri)==filwidth_one)
THEN
109 ffcof => turb%ffCofi1I
110 ELSEIF (ijk==dirj)
THEN
111 ffcof => turb%ffCofi1J
112 ELSEIF (ijk==dirk)
THEN
113 ffcof => turb%ffCofi1K
115 ELSEIF (ndel(diri)==filwidth_two)
THEN
117 ffcof => turb%ffCofi2I
118 ELSEIF (ijk==dirj)
THEN
119 ffcof => turb%ffCofi2J
120 ELSEIF (ijk==dirk)
THEN
121 ffcof => turb%ffCofi2K
131 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
133 filtvar(l,ijkn)=ffcof(1,ijkn)*fvar(l,ijkn-1) + &
134 ffcof(2,ijkn)*fvar(l,ijkn) + &
135 ffcof(3,ijkn)*fvar(l,ijkn+1)
142 ELSEIF (ndel(diri)==filwidth_four)
THEN
145 ffcof => turb%ffCofi4I
146 ELSEIF (ijk==dirj)
THEN
147 ffcof => turb%ffCofi4J
148 ELSEIF (ijk==dirk)
THEN
149 ffcof => turb%ffCofi4K
158 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
160 filtvar(l,ijkn)=ffcof(1,ijkn)*fvar(l,ijkn-2) + &
161 ffcof(2,ijkn)*fvar(l,ijkn-1) + &
162 ffcof(3,ijkn)*fvar(l,ijkn) + &
163 ffcof(4,ijkn)*fvar(l,ijkn+1) + &
164 ffcof(5,ijkn)*fvar(l,ijkn+2)
170 ijknb = indijk(
ibeg ,
j ,
k ,inoff,ijnoff)
171 ijkne = indijk(
iend ,
j ,
k ,inoff,ijnoff)
173 tmpb(l) = 2._rfreal*fvar(l,ijknb-1)-fvar(l,ijknb)
174 tmpe(l) = 2._rfreal*fvar(l,ijkne+1)-fvar(l,ijkne)
175 filtvar(l,ijknb)=ffcof(1,ijknb)*tmpb(l) + &
176 ffcof(2,ijknb)*fvar(l,ijknb-1) + &
177 ffcof(3,ijknb)*fvar(l,ijknb) + &
178 ffcof(4,ijknb)*fvar(l,ijknb+1) + &
179 ffcof(5,ijknb)*fvar(l,ijknb+2)
180 filtvar(l,ijkne)=ffcof(1,ijkne)*fvar(l,ijkne-2) + &
181 ffcof(2,ijkne)*fvar(l,ijkne-1) + &
182 ffcof(3,ijkne)*fvar(l,ijkne) + &
183 ffcof(4,ijkne)*fvar(l,ijkne+1) + &
184 ffcof(5,ijkne)*tmpe(l)
**********************************************************************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
subroutine turb_flolesgenfiltffi(region, ijk, ibeg, iend, jbeg, jend, kbeg, kend, iNOff, ijNOff, nDel, idBeg, idEnd, fVar, filtVar)
subroutine registerfunction(global, funName, fileName)
**********************************************************************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
**********************************************************************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
**********************************************************************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)