2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | ginit (msave, first, nvar, naux, start_time) |
Initializes solution on all grids at level of grid msave, by calling qinit(). More... | |
subroutine ginit | ( | msave, | |
logical | first, | ||
nvar, | |||
naux, | |||
start_time | |||
) |
Initializes solution on all grids at level of grid msave, by calling qinit().
If first = true, (first call to init), then allocate the soln storage area too, else was already allocated.
msave | First grid in the grid list that stores all grids at this level |
first | Is this the first call to init? |
nvar | number of equations for the system |
naux | number of auxiliary variables |
start_time | start time of current simulation |
Definition at line 18 of file ginit.f.
References amr_module::alloc, amr_module::cornxlo, amr_module::cornylo, amr_module::hxposs, amr_module::hyposs, igetsp(), amr_module::levelptr, amr_module::mxnest, amr_module::ndihi, amr_module::ndilo, amr_module::ndjhi, amr_module::ndjlo, amr_module::needs_to_be_set, amr_module::nestlevel, amr_module::nghost, amr_module::node, qinit(), amr_module::rnode, setaux(), amr_module::store1, amr_module::store2, amr_module::storeaux, and amr_module::timemult.
Referenced by domain(), and setgrd().