2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | update (level, nvar, naux) |
Synchronize between all grids on level level and grids on level level+1. More... | |
subroutine update | ( | level, | |
nvar, | |||
naux | |||
) |
Synchronize between all grids on level level and grids on level level+1.
The synchronization includes averaging solution from level level+1 down to level level and conservation fix-up near the fine-coarse interface between level level grids and level level+1 grids.
This routine assumes cell centered variables.
[in] | level | the only level to be updated (synchronized on). levels coarser than this will be at a diffeent time. |
[in] | nvar | number of equations for the system |
[in] | naux | number of auxiliary variables |
Definition at line 17 of file update.f.
References amr_module::alloc, amr_module::cfluxptr, iadd(), amr_module::intratx, amr_module::intraty, amr_module::levelptr, amr_module::listofgrids, amr_module::listsp, amr_module::liststart, amr_module::lstart, amr_module::mcapa, amr_module::ndihi, amr_module::ndilo, amr_module::ndjhi, amr_module::ndjlo, amr_module::nghost, amr_module::node, amr_module::numgrids, amr_module::outunit, amr_module::possk, amr_module::store1, amr_module::storeaux, upbnd(), and amr_module::uprint.
Referenced by setgrd(), and tick().