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_floLesUniFiltCCJ.F90,v $'
84 'TURB_floLesUniFiltCCJ.F90' )
88 IF (ndel(dirj)==filwidth_zero)
THEN
92 filtvar(idbeg:idend,:)=fvar(idbeg:idend,:)
95 ELSEIF ((ndel(dirj)==filwidth_one) .OR. &
96 (ndel(dirj)==filwidth_two))
THEN
104 ijkc = indijk(
i ,
j ,
k ,icoff,ijcoff)
106 filtvar(l,ijkc)=fact1(ndel(dirj))*(fvar(l,ijkc-icoff) + &
107 fvar(l,ijkc+icoff))+ &
108 fact2(ndel(dirj))*fvar(l,ijkc)
114 ijkcb = indijk(
i ,
jbeg ,
k ,icoff,ijcoff)
115 ijkce = indijk(
i ,
jend ,
k ,icoff,ijcoff)
118 tmpb(l,1)=2._rfreal*fvar(l,ijkcb)-fvar(l,ijkcb+icoff)
119 tmpe(l,1)=2._rfreal*fvar(l,ijkce)-fvar(l,ijkce-icoff)
120 filtvar(l,ijkcb)=fact1(ndel(dirj))*(tmpb(l,1)+fvar(l,ijkcb+icoff))+ &
121 fact2(ndel(dirj))*fvar(l,ijkcb)
122 filtvar(l,ijkce)=fact1(ndel(dirj))*(tmpe(l,1)+fvar(l,ijkce-icoff))+ &
123 fact2(ndel(dirj))*fvar(l,ijkce)
129 ELSEIF (ndel(dirj)==filwidth_four)
THEN
137 ijkc = indijk(
i ,
j ,
k ,icoff,ijcoff)
139 filtvar(l,ijkc)=fact1(ndel(dirj))*(fvar(l,ijkc-2*icoff) + &
140 fvar(l,ijkc+2*icoff))+ &
141 fact2(ndel(dirj))*(fvar(l,ijkc+icoff) + &
142 fvar(l,ijkc)+fvar(l,ijkc-icoff))
148 ijkcb = indijk(
i ,
jbeg ,
k ,icoff,ijcoff)
149 ijkce = indijk(
i ,
jend ,
k ,icoff,ijcoff)
150 ijkcb1= indijk(
i ,
jbeg+1 ,
k ,icoff,ijcoff)
151 ijkce1= indijk(
i ,
jend-1 ,
k ,icoff,ijcoff)
154 tmpb(l,1)=2._rfreal*fvar(l,ijkcb)-fvar(l,ijkcb+icoff)
155 tmpe(l,1)=2._rfreal*fvar(l,ijkce)-fvar(l,ijkce-icoff)
156 filtvar(l,ijkcb1)=fact1(ndel(dirj))*(tmpb(l,1)+fvar(l,ijkcb1+2*icoff))+ &
157 fact2(ndel(dirj))*(fvar(l,ijkcb1+icoff)+fvar(l,ijkcb1)+ &
158 fvar(l,ijkcb1-icoff))
159 filtvar(l,ijkce1)=fact1(ndel(dirj))*(tmpe(l,1)+fvar(l,ijkce1-2*icoff))+ &
160 fact2(ndel(dirj))*(fvar(l,ijkce1+icoff)+fvar(l,ijkce1)+ &
161 fvar(l,ijkce1-icoff))
165 tmpb(l,2)=2._rfreal*fvar(l,ijkcb)-fvar(l,ijkcb+2*icoff)
166 tmpe(l,2)=2._rfreal*fvar(l,ijkce)-fvar(l,ijkce-2*icoff)
167 filtvar(l,ijkcb)=fact1(ndel(dirj))*(tmpb(l,2)+fvar(l,ijkcb+2*icoff))+ &
168 fact2(ndel(dirj))*(fvar(l,ijkcb+icoff)+fvar(l,ijkcb)+ &
170 filtvar(l,ijkce)=fact1(ndel(dirj))*(tmpe(l,2)+fvar(l,ijkce-2*icoff))+ &
171 fact2(ndel(dirj))*(fvar(l,ijkce-icoff)+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 turb_flolesunifiltccj(global, nDum, ibeg, iend, jbeg, jend, kbeg, kend, iCOff, ijCOff, nDel, idBeg, idEnd, fact1, fact2, 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)