6 & faddm,faddp,cfl1d,wave,s,
57 implicit double precision (a-h,o-z)
59 dimension q1d(meqn,1-mbc:maxm+mbc)
60 dimension cqxx(meqn,1-mbc:maxm+mbc)
61 dimension faddm(meqn,1-mbc:maxm+mbc)
62 dimension faddp(meqn,1-mbc:maxm+mbc)
63 dimension dtdx1d(1-mbc:maxm+mbc)
64 dimension aux2(maux,1-mbc:maxm+mbc)
66 dimension s(
mwaves, 1-mbc:maxm+mbc)
67 dimension wave(meqn,
mwaves, 1-mbc:maxm+mbc)
73 if (
mthlim(mw) .gt. 0) limit = .true.
79 do 10 i = 1-mbc, mx+mbc
90 call rpn2(ixy,maxm,meqn,
mwaves,maux,mbc,mx,q1d,q1d,
91 & aux2,aux2,wave,s,faddm,faddp)
109 cfl1d = dmax1(cfl1d, dtdx1d(i)*s(mw,i),
110 & -dtdx1d(i-1)*s(mw,i))
113 if (
method(2).eq.1)
go to 130
127 dtdxave = 0.5d0 * (dtdx1d(i-1) + dtdx1d(i))
137 abs_sign = dsign(1.d0,s(mw,i))
139 abs_sign = dabs(s(mw,i))
142 cqxx(m,i) = cqxx(m,i) + abs_sign
143 & * (1.d0 - dabs(s(mw,i))*dtdxave) * wave(m,mw,i)
146 faddm(m,i) = faddm(m,i) + 0.5d0 * cqxx(m,i)
147 faddp(m,i) = faddp(m,i) + 0.5d0 * cqxx(m,i)
integer, dimension(7) method
integer, dimension(:), allocatable mthlim
subroutine flux2_dimsplit(ixy, maxm, meqn, maux, mbc, mx, q1d, dtdx1d, aux2, faddm, faddp, cfl1d, wave, s, cqxx, rpn2)
subroutine limiter(maxm, meqn, mwaves, mbc, mx, wave, s, mthlim)
subroutine rpn2(ixy, maxm, meqn, mwaves, maux, mbc, mx, ql, qr, auxl, auxr, wave, s, amdq, apdq)
The module contains the definition of a "node descriptor" as well as other global variables used duri...