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_floLesGenFiltFFJ.F90,v $'
87 global => region%global
89 'TURB_floLesGenFiltFFJ.F90' )
93 ilev = region%currLevel
94 turb => region%levels(ilev)%turb
98 IF (ndel(dirj)==filwidth_zero)
THEN
104 ELSEIF ((ndel(dirj)==filwidth_one) .OR. &
105 (ndel(dirj)==filwidth_two))
THEN
107 IF (ndel(dirj)==filwidth_one)
THEN
109 ffcof => turb%ffCofj1I
110 ELSEIF (ijk==dirj)
THEN
111 ffcof => turb%ffCofj1J
112 ELSEIF (ijk==dirk)
THEN
113 ffcof => turb%ffCofj1K
115 ELSEIF (ndel(dirj)==filwidth_two)
THEN
117 ffcof => turb%ffCofj2I
118 ELSEIF (ijk==dirj)
THEN
119 ffcof => turb%ffCofj2J
120 ELSEIF (ijk==dirk)
THEN
121 ffcof => turb%ffCofj2K
131 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
133 filtvar(l,ijkn)=ffcof(1,ijkn)*fvar(l,ijkn-inoff) + &
134 ffcof(2,ijkn)*fvar(l,ijkn) + &
135 ffcof(3,ijkn)*fvar(l,ijkn+inoff)
142 ELSEIF (ndel(dirj)==filwidth_four)
THEN
145 ffcof => turb%ffCofj4I
146 ELSEIF (ijk==dirj)
THEN
147 ffcof => turb%ffCofj4J
148 ELSEIF (ijk==dirk)
THEN
149 ffcof => turb%ffCofj4K
158 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
160 filtvar(l,ijkn)=ffcof(1,ijkn)*fvar(l,ijkn-2*inoff) + &
161 ffcof(2,ijkn)*fvar(l,ijkn-inoff) + &
162 ffcof(3,ijkn)*fvar(l,ijkn) + &
163 ffcof(4,ijkn)*fvar(l,ijkn+inoff) + &
164 ffcof(5,ijkn)*fvar(l,ijkn+2*inoff)
170 ijknb = indijk(
i ,
jbeg ,
k ,inoff,ijnoff)
171 ijkne = indijk(
i ,
jend ,
k ,inoff,ijnoff)
173 tmpb(l) = 2._rfreal*fvar(l,ijknb-inoff)-fvar(l,ijknb)
174 tmpe(l) = 2._rfreal*fvar(l,ijkne+inoff)-fvar(l,ijkne)
175 filtvar(l,ijknb)=ffcof(1,ijknb)*tmpb(l) + &
176 ffcof(2,ijknb)*fvar(l,ijknb-inoff) + &
177 ffcof(3,ijknb)*fvar(l,ijknb) + &
178 ffcof(4,ijknb)*fvar(l,ijknb+inoff) + &
179 ffcof(5,ijknb)*fvar(l,ijknb+2*inoff)
180 filtvar(l,ijkne)=ffcof(1,ijkne)*fvar(l,ijkne-2*inoff)+ &
181 ffcof(2,ijkne)*fvar(l,ijkne-inoff) + &
182 ffcof(3,ijkne)*fvar(l,ijkne) + &
183 ffcof(4,ijkne)*fvar(l,ijkne+inoff) + &
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 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)
subroutine turb_flolesgenfiltffj(region, ijk, ibeg, iend, jbeg, jend, kbeg, kend, iNOff, ijNOff, nDel, idBeg, idEnd, fVar, filtVar)