2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | flglvl2 (nvar, naux, lcheck, nxypts, index, lbase, npts, start_time) |
Controls the error estimation/flagging bad pts. More... | |
subroutine | freeflags (lcheck) |
subroutine flglvl2 | ( | nvar, | |
naux, | |||
lcheck, | |||
nxypts, | |||
index, | |||
lbase, | |||
npts, | |||
start_time | |||
) |
Controls the error estimation/flagging bad pts.
for an entire level of grids. returns pointer into alloc where the (x,y) coordinations of the flagged pts. are.
nvar | number of equations for the system | |
naux | number of auxiliary variables | |
lcheck | level to be flagged | |
nxypts | number of flagged points in total | |
index | starting index (memory address) in alloc of the flagged points (which occupy 2*nxypts locations) | |
lbase | base AMR level for current refinement, which stays fixed. Note that lbase is always less or equal to lcheck | |
npts | Number of unique flagged cells (after removing duplicates) | |
[in] | start_time | start time of current simulation |
Definition at line 26 of file flglvl2.f.
References amr_module::alloc, bufnst2(), colate2(), flagger(), freeflags(), igetsp(), amr_module::timebufnst, and amr_module::timeflagger.
Referenced by grdfit().
subroutine freeflags | ( | lcheck | ) |
Definition at line 80 of file flglvl2.f.
References amr_module::domflags2, amr_module::domflags_base, amr_module::ibuff, amr_module::levelptr, amr_module::lstart, amr_module::ndihi, amr_module::ndilo, amr_module::ndjhi, amr_module::ndjlo, amr_module::nghost, amr_module::node, reclam(), and amr_module::storeflags.
Referenced by flglvl2().