67 INTEGER :: errorflag,hloc,
i,icmp,ic1l,ic2l,ic3l,ic4l,ifcp,ifile,ifun,
j,
k, &
69 CHARACTER(CHRLEN) :: ifilename,sectionstring,rcsidentstring
70 TYPE(t_grid),
POINTER :: pgrid
77 TYPE(t_region
),
POINTER :: pregion
83 rcsidentstring =
'$RCSfile: RFLU_WriteIntegrals1245OLES.F90,v $ $Revision: 1.7 $'
91 global => pregion%global
94 'RFLU_WriteIntegrals1245OLES.F90')
96 ncells =
SIZE(pgrid%fsOLES,1)
98 IF ( global%myProcid == masterproc .AND. &
99 global%verbLevel > verbose_none )
THEN
100 WRITE(stdout,
'(A)') solver_name
101 WRITE(stdout,
'(A,1X,A)') solver_name,
'Writing optimal LES integrals...'
104 WRITE(ifilename,
'(A,I1)') trim(global%outDir)// &
105 trim(global%casename)//
'.int_',ncells
107 ifile = if_integ_oles
108 OPEN(ifile,file=ifilename,
form=
"FORMATTED",
status=
"UNKNOWN", &
110 global%error = errorflag
111 IF ( global%error /= err_none )
THEN
112 CALL
errorstop(global,err_file_open,__line__,ifilename)
119 IF ( global%myProcid == masterproc .AND. &
120 global%verbLevel > verbose_low )
THEN
121 WRITE(stdout,
'(A,3X,A)') solver_name,
'Integral 1...'
124 sectionstring =
'# Integral 1'
125 WRITE(ifile,
'(A)') trim(sectionstring)
141 WRITE(ifile,
'(E15.6,3X,I2,3X,I2,2X,2(1X,I2),3X,I3)') &
142 pgrid%int1OLES(
i,ifcp,vloc),ifcp,ic1l,l,
i,vloc
151 IF ( global%myProcid == masterproc .AND. &
152 global%verbLevel > verbose_low )
THEN
153 WRITE(stdout,
'(A,3X,A)') solver_name,
'Integral 2...'
156 sectionstring =
'# Integral 2'
157 WRITE(ifile,
'(A)') trim(sectionstring)
177 pgrid%int20OLES(ifcp,vloc,hloc), &
178 pgrid%int21OLES(ifcp,vloc,hloc), &
179 ifcp,ic1l,ic2l,l,
j,vloc,hloc
189 IF ( global%myProcid == masterproc .AND. &
190 global%verbLevel > verbose_low )
THEN
191 WRITE(stdout,
'(A,3X,A)') solver_name,
'Integral 4...'
194 sectionstring =
'# Integral 4'
195 WRITE(ifile,
'(A)') trim(sectionstring)
215 pgrid%int40OLES(
i,ifcp,vloc), &
216 pgrid%int41OLES(
i,ifcp,vloc), &
217 pgrid%int42OLES(
i,ifcp,vloc), &
218 ifcp,ic1l,ic2l,l,
m,
i,vloc
228 IF ( global%myProcid == masterproc .AND. &
229 global%verbLevel > verbose_low )
THEN
230 WRITE(stdout,
'(A,3X,A)') solver_name,
'Integral 5...'
233 sectionstring =
'# Integral 5'
234 WRITE(ifile,
'(A)') trim(sectionstring)
257 pgrid%int50OLES(ifcp,vloc,hloc), &
258 pgrid%int51OLES(ifcp,vloc,hloc), &
259 pgrid%int52OLES(ifcp,vloc,hloc), &
260 ifcp,ic1l,ic2l,ic3l,ic4l,l,
m,
j,
k,vloc,hloc
272 sectionstring =
'# End'
273 WRITE(ifile,
'(A)') trim(sectionstring)
279 CLOSE(ifile,iostat=errorflag)
280 global%error = errorflag
281 IF ( global%error /= err_none )
THEN
282 CALL
errorstop(global,err_file_close,__line__,ifilename)
285 IF ( global%myProcid == masterproc .AND. &
286 global%verbLevel > verbose_none )
THEN
287 WRITE(stdout,
'(A,1X,A)') solver_name,
'Writing optimal LES integrals done.'
292 1
FORMAT(2(e15.6,1
x),2
x,i2,2
x,2(1
x,i2),2
x,2(1
x,i2),2
x,2(1
x,i3))
293 2
FORMAT(3(e15.6,1
x),2
x,i2,2
x,2(1
x,i2),2
x,3(1
x,i2),3
x,i3)
294 3
FORMAT(3(e15.6,1
x),2
x,i2,2
x,4(1
x,i2),2
x,4(1
x,i2),2
x,2(1
x,i3))
subroutine rflu_writeintegrals1245oles(pRegion)
subroutine registerfunction(global, funName, fileName)
int status() const
Obtain the status of the attribute.
INTEGER function, public rflu_geti1posoles(l, d)
INTEGER function, public rflu_getlposoles(j, a)
subroutine, public rflu_mapk2ij(k, i, j)
**********************************************************************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 form
subroutine, public rflu_mapm2ijkl(m, i, j, k, l)
INTEGER function, public rflu_geti4posoles(l, m, d, e, nCells)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine, public rflu_mapl2ijk(l, i, j, k)
INTEGER function, public rflu_getqposoles(j, k, b, g, nCells)
subroutine deregisterfunction(global)