2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | regrid (nvar, lbase, cut, naux, start_time) |
subroutine | arrangegrids (level, numg) |
Sort all grids at level level. More... | |
subroutine arrangegrids | ( | level, | |
numg | |||
) |
Sort all grids at level level.
Put the most expensive grid in lstart(level) Cost is measured by number of cells. The linked list was also sorted such that the cost of grids decreases from list head to list tail
Definition at line 133 of file regrid.f.
References amr_module::levelptr, amr_module::lstart, amr_module::ndihi, amr_module::ndilo, amr_module::ndjhi, amr_module::ndjlo, amr_module::node, amr_module::null, and qsorti().
Referenced by domain(), regrid(), and setgrd().
subroutine regrid | ( | nvar, | |
lbase, | |||
cut, | |||
naux, | |||
start_time | |||
) |
Flag points on each grid with a level > = lbase. cluster them, and fit new subgrids around the clusters. the lbase grids stay fixed during regridding operation. when a parent grid has its error estimated, add its kid grid information to the error grid before clustering. (project) order of grid examination - all grids at the same level, then do the next coarser level.
Definition at line 5 of file regrid.f.
References arrangegrids(), amr_module::avenumgrids, gfixup(), grdfit(), amr_module::iregridcount, amr_module::levelptr, amr_module::lfine, amr_module::lstart, makebndrylist(), makegridlist(), amr_module::method, amr_module::mxnest, amr_module::ndihi, amr_module::ndilo, amr_module::ndjhi, amr_module::ndjlo, amr_module::newstl, amr_module::node, amr_module::numcells, amr_module::numgrids, amr_module::outunit, prepc(), prepf(), amr_module::rnode, amr_module::timegrdfit2, amr_module::timemult, and amr_module::verbosity_regrid.
Referenced by tick().