53 ijnoff,ndel,idbeg,idend,fact1,fact2,fvar, &
67 INTEGER :: ndel(diri:dirk),idbeg,idend
68 REAL(RFREAL) :: fact1(filwidth_four),fact2(filwidth_four)
69 REAL(RFREAL),
POINTER :: fvar(:,:),filtvar(:,:)
72 INTEGER ::
i,
j,
k, l, ijkn, ijknb, ijkne
75 CHARACTER(CHRLEN) :: rcsidentstring
76 REAL(RFREAL) :: tmpb(idbeg:idend),tmpe(idbeg:idend)
80 rcsidentstring =
'$RCSfile: TURB_floLesUniFiltFFJ.F90,v $'
83 'TURB_floLesUniFiltFFJ.F90' )
87 IF (ndel(dirj)==filwidth_zero)
THEN
93 ELSEIF ((ndel(dirj)==filwidth_one) .OR. &
94 (ndel(dirj)==filwidth_two))
THEN
102 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
104 filtvar(l,ijkn)=fact1(ndel(dirj))*(fvar(l,ijkn-inoff)+ &
105 fvar(l,ijkn+inoff))+ &
106 fact2(ndel(dirj))*fvar(l,ijkn)
113 ELSEIF (ndel(dirj)==filwidth_four)
THEN
121 ijkn = indijk(
i ,
j ,
k ,inoff,ijnoff)
123 filtvar(l,ijkn)=fact1(ndel(dirj))*(fvar(l,ijkn-2*inoff)+ &
124 fvar(l,ijkn+2*inoff))+ &
125 fact2(ndel(dirj))*(fvar(l,ijkn+inoff)+ &
126 fvar(l,ijkn)+fvar(l,ijkn-inoff))
132 ijknb = indijk(
i ,
jbeg ,
k ,inoff,ijnoff)
133 ijkne = indijk(
i ,
jend ,
k ,inoff,ijnoff)
135 tmpb(l) = 2._rfreal*fvar(l,ijknb-inoff)-fvar(l,ijknb)
136 tmpe(l) = 2._rfreal*fvar(l,ijkne+inoff)-fvar(l,ijkne)
137 filtvar(l,ijknb)=fact1(ndel(dirj))*(tmpb(l)+fvar(l,ijknb+2*inoff))+ &
138 fact2(ndel(dirj))*(fvar(l,ijknb+inoff)+ &
139 fvar(l,ijknb)+fvar(l,ijknb-inoff))
140 filtvar(l,ijkne)=fact1(ndel(dirj))*(tmpe(l)+fvar(l,ijkne-2*inoff))+ &
141 fact2(ndel(dirj))*(fvar(l,ijkne+inoff)+ &
142 fvar(l,ijkne)+fvar(l,ijkne-inoff))
**********************************************************************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
subroutine turb_flolesunifiltffj(global, ibeg, iend, jbeg, jend, kbeg, kend, iNOff, ijNOff, 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 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)