4 subroutine fixcapaq(val,aux,mitot,mjtot,valc,auxc,mic,mjc,
5 & nvar,naux,levc,setflags)
8 implicit double precision (a-h,o-z)
17 dimension val(nvar,mitot,mjtot), valc(nvar,mic,mjc)
18 dimension aux(naux,mitot,mjtot), auxc(naux,mic,mjc)
33 do 20 ico = 1, lratiox
34 ifine = (ic-2)*lratiox +
nghost + ico
35 do 20 jco = 1, lratioy
36 jfine = (jc-2)*lratioy +
nghost + jco
37 capaqfine = capaqfine + aux(
mcapa,ifine,jfine)*
38 & val(ivar,ifine,jfine)
41 dcapaq = auxc(
mcapa,ic,jc)*valc(ivar,ic,jc)-
42 & capaqfine/(lratiox*lratioy)
43 dcapamax = dmax1(dcapamax,dabs(dcapaq))
45 do 30 ico = 1, lratiox
46 ifine = (ic-2)*lratiox +
nghost + ico
47 do 30 jco = 1, lratioy
48 jfine = (jc-2)*lratioy +
nghost + jco
52 val(ivar,ifine,jfine) = val(ivar,ifine,jfine) +
53 & dcapaq/aux(
mcapa,ifine,jfine)
subroutine setflags(iflags, isize, jsize, rctold, idim3, mitot, mjtot, mptr)
real(kind=8), parameter needs_to_be_set
subroutine fixcapaq(val, aux, mitot, mjtot, valc, auxc, mic, mjc, nvar, naux, levc, setflags)
integer, dimension(maxlv) intraty
integer, dimension(maxlv) intratx
The module contains the definition of a "node descriptor" as well as other global variables used duri...