2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | prepf (level, nvar, naux) |
For new fine grids (grids on level level), allocate space for saving fluxes at boundary (even if it's physical boundary) after each integration step. More... | |
subroutine prepf | ( | level, | |
nvar, | |||
naux | |||
) |
For new fine grids (grids on level level), allocate space for saving fluxes at boundary (even if it's physical boundary) after each integration step.
These fluxes are for future conservative fixing of coarse grids (level level-1 grids). The address of this space is stored in node(ffluxptr, mkid) for grid mkid.
Note that if the refinment ratio is r, fluxes from every r cells on grid mkid are saved to one slot in this space, since every r cells on grid mkid border one cell on level level-1 grids.
[in] | level | boudnary lists of grids on this level get updated |
[in] | nvar | number of equations for the system |
[in] | naux | number of auxiliary variables for the system |
Definition at line 19 of file prepf.f.
References amr_module::alloc, amr_module::ffluxptr, igetsp(), amr_module::intratx, amr_module::intraty, amr_module::levelptr, amr_module::lstart, amr_module::ndihi, amr_module::ndilo, amr_module::ndjhi, amr_module::ndjlo, and amr_module::node.
Referenced by regrid(), and setgrd().