c c c ========================================================== subroutine chk2(q,mx,my,lb,ub,lbr,ubr,shaper,meqn, & mout,mresult) c ========================================================== c c # Check the consistency of physical values. c # An essential debugging tool for AMROC. c implicit none c integer meqn, mx, my, mout double precision q(meqn,mx,my) integer lb(2), ub(2), lbr(2), ubr(2), shaper(2), & mresult, stride, imin(2), imax(2), d, i, j, getindx c return end