53 icoff,ijcoff,ndel,idbeg,idend,fact1,fact2,fvar, &
68 INTEGER :: ndel(diri:dirk),idbeg,idend
69 REAL(RFREAL) :: fact1(filwidth_four),fact2(filwidth_four)
70 REAL(RFREAL),
POINTER :: fvar(:,:),filtvar(:,:)
73 INTEGER ::
i,
j,
k, l, ijkc, ijkcb, ijkce, ijkcb1, ijkce1
76 CHARACTER(CHRLEN) :: rcsidentstring
77 REAL(RFREAL) :: tmpb(idbeg:idend,2),tmpe(idbeg:idend,2)
81 rcsidentstring =
'$RCSfile: TURB_floLesUniFiltCCK.F90,v $'
84 'TURB_floLesUniFiltCCK.F90' )
88 IF (ndel(dirk)==filwidth_zero)
THEN
92 filtvar(idbeg:idend,:)=fvar(idbeg:idend,:)
95 ELSEIF ((ndel(dirk)==filwidth_one) .OR. &
96 (ndel(dirk)==filwidth_two))
THEN
104 ijkc = indijk(
i ,
j ,
k ,icoff,ijcoff)
106 filtvar(l,ijkc)=fact1(ndel(dirk))*(fvar(l,ijkc-ijcoff) + &
107 fvar(l,ijkc+ijcoff))+ &
108 fact2(ndel(dirk))*fvar(l,ijkc)
114 ijkcb = indijk(
i ,
j ,
kbeg ,icoff,ijcoff)
115 ijkce = indijk(
i ,
j ,kend ,icoff,ijcoff)
118 tmpb(l,1)=2._rfreal*fvar(l,ijkcb)-fvar(l,ijkcb+ijcoff)
119 tmpe(l,1)=2._rfreal*fvar(l,ijkce)-fvar(l,ijkce-ijcoff)
120 filtvar(l,ijkcb)=fact1(ndel(dirk))*(tmpb(l,1)+fvar(l,ijkcb+ijcoff))+ &
121 fact2(ndel(dirk))*fvar(l,ijkcb)
122 filtvar(l,ijkce)=fact1(ndel(dirk))*(tmpe(l,1)+fvar(l,ijkce-ijcoff))+ &
123 fact2(ndel(dirk))*fvar(l,ijkce)
128 ELSEIF (ndel(dirk)==filwidth_four)
THEN
136 ijkc = indijk(
i ,
j ,
k ,icoff,ijcoff)
138 filtvar(l,ijkc)=fact1(ndel(dirk))*(fvar(l,ijkc-2*ijcoff) + &
139 fvar(l,ijkc+2*ijcoff))+ &
140 fact2(ndel(dirk))*(fvar(l,ijkc+ijcoff) + &
141 fvar(l,ijkc)+fvar(l,ijkc-ijcoff))
147 ijkcb = indijk(
i ,
j ,
kbeg ,icoff,ijcoff)
148 ijkce = indijk(
i ,
j ,kend ,icoff,ijcoff)
149 ijkcb1= indijk(
i ,
j ,
kbeg+1 ,icoff,ijcoff)
150 ijkce1= indijk(
i ,
j ,kend-1 ,icoff,ijcoff)
153 tmpb(l,1)=2._rfreal*fvar(l,ijkcb)-fvar(l,ijkcb+ijcoff)
154 tmpe(l,1)=2._rfreal*fvar(l,ijkce)-fvar(l,ijkce-ijcoff)
155 filtvar(l,ijkcb1)=fact1(ndel(dirk))*(tmpb(l,1)+fvar(l,ijkcb1+2*ijcoff))+ &
156 fact2(ndel(dirk))*(fvar(l,ijkcb1+ijcoff)+fvar(l,ijkcb1)+ &
157 fvar(l,ijkcb1-ijcoff))
158 filtvar(l,ijkce1)=fact1(ndel(dirk))*(tmpe(l,1)+fvar(l,ijkce1-2*ijcoff))+ &
159 fact2(ndel(dirk))*(fvar(l,ijkce1+ijcoff)+fvar(l,ijkce1)+ &
160 fvar(l,ijkce1-ijcoff))
164 tmpb(l,2)=2._rfreal*fvar(l,ijkcb)-fvar(l,ijkcb+2*ijcoff)
165 tmpe(l,2)=2._rfreal*fvar(l,ijkce)-fvar(l,ijkce-2*ijcoff)
166 filtvar(l,ijkcb)=fact1(ndel(dirk))*(tmpb(l,2)+fvar(l,ijkcb+2*ijcoff))+ &
167 fact2(ndel(dirk))*(fvar(l,ijkcb+ijcoff)+fvar(l,ijkcb)+ &
169 filtvar(l,ijkce)=fact1(ndel(dirk))*(tmpe(l,2)+fvar(l,ijkce-2*ijcoff))+ &
170 fact2(ndel(dirk))*(fvar(l,ijkce-ijcoff)+fvar(l,ijkce)+ &
**********************************************************************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
subroutine turb_flolesunifiltcck(global, nDum, ibeg, iend, jbeg, jend, kbeg, kend, iCOff, ijCOff, nDel, idBeg, idEnd, fact1, fact2, fVar, filtVar)
**********************************************************************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)