2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | grdfit (lbase, lcheck, nvar, naux, cut, time, start_time) |
This subroutine is called by setgrd and regrid to actually fit the new grids on each level. More... | |
subroutine grdfit | ( | lbase, | |
lcheck, | |||
nvar, | |||
naux, | |||
cut, | |||
time, | |||
start_time | |||
) |
This subroutine is called by setgrd and regrid to actually fit the new grids on each level.
lcheck is the level being error estimated so that lcheck+1 will be the level of the new grids.
It generates all grids on level lcheck+1 and ensure proper nesting.
lbase | base AMR level for current refinement, which stays fixed. Note that lbase is always less or equal to lcheck |
lcheck | the level being error estimated so that lcheck+1 will be the level of the new grids. |
nvar | number of equations for the system |
naux | number of auxiliary variables |
cut | efficiency threshold for the clustering algorithm |
time | current simulation time |
start_time | start time of current simulation |
Definition at line 22 of file grdfit2.f.
References amr_module::alloc, birect(), amr_module::cornxhi, amr_module::cornxlo, amr_module::cornyhi, amr_module::cornylo, flglvl2(), amr_module::gprint, amr_module::hxposs, amr_module::hyposs, amr_module::iinfinity, amr_module::intratx, amr_module::intraty, amr_module::iregend, amr_module::iregst, amr_module::iregsz, amr_module::jregend, amr_module::jregst, amr_module::jregsz, amr_module::levelptr, amr_module::maxcl, moment(), amr_module::ndihi, amr_module::ndilo, amr_module::ndjhi, amr_module::ndjlo, amr_module::nestlevel, amr_module::newstl, amr_module::node, nodget(), amr_module::nsize, amr_module::null, amr_module::outunit, reclam(), amr_module::rnode, amr_module::rsize, smartbis(), amr_module::timeflglvl, amr_module::timegrdfitall, amr_module::timemult, amr_module::xlower, and amr_module::ylower.
Referenced by moment(), regrid(), and setgrd().