2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | saveqc (level, nvar, naux) |
Prepare new fine grids to save fluxes after each integration step for future conservative fix-up on coarse grids. More... | |
subroutine saveqc | ( | level, | |
nvar, | |||
naux | |||
) |
Prepare new fine grids to save fluxes after each integration step for future conservative fix-up on coarse grids.
For each grid mkid on level level, first allocate temporary space for storing solution on a rectangle on level level-1, which is enlarged from grid mkid by one level level-1 cell on each side. Then copy solution from overlapping level level-1 grids to this rectangle. Finally, fill node(ffluxptr, mkid) with solutions in cells that are on the rectangle and border the boundary of grid mkid.
Definition at line 14 of file saveqc.f.
References amr_module::alloc, bc2amr(), amr_module::cornxhi, amr_module::cornxlo, amr_module::cornyhi, amr_module::cornylo, cstore(), amr_module::ffluxptr, amr_module::hxposs, amr_module::hyposs, icall(), igetsp(), amr_module::intratx, amr_module::intraty, amr_module::iregsz, amr_module::jregsz, amr_module::levelptr, amr_module::lstart, amr_module::max1d, amr_module::ndihi, amr_module::ndilo, amr_module::ndjhi, amr_module::ndjlo, amr_module::needs_to_be_set, amr_module::nghost, amr_module::node, preicall(), reclam(), amr_module::rnode, setaux(), amr_module::spheredom, amr_module::storeaux, amr_module::timemult, amr_module::xperdom, and amr_module::yperdom.
Referenced by advanc().