c c c ========================================================== subroutine chk3ac(q,mx,my,mz,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, mz, mout double precision q(meqn,mx,my,mz) c integer lb(3), ub(3), lbr(3), ubr(3), shaper(3), & mresult, stride, imin(3), imax(3), d, i, j, k, getindx c return end