c c c ========================================================== subroutine chk2ac(q,mx,my,lb,ub,lbr,ubr,shaper,meqn, & mout,mresult) c ========================================================== c c # Controls, if density and pressure remain positive. c # An essential debugging tool for AMROC. c c # Copyright (C) 2002 Ralf Deiterding c # Brandenburgische Universitaet Cottbus c c # Copyright (C) 2003-2007 California Institute of Technology c # Ralf Deiterding, ralf@cacr.caltech.edu c implicit none c integer meqn, mx, my, mout double precision q(meqn,mx,my) c integer lb(2), ub(2), lbr(2), ubr(2), shaper(2), & mresult, stride, imin(2), imax(2), d, i, j, getindx c return end