Version 4 (modified by 12 years ago) ( diff ) | ,
---|
Back to BearEZ
SUBROUTINE BEARStep
Click here to view the source.
Description
This subroutine advances the the simulation through time. A rough outline of this process is as follows:
- Set the initial timesteps.
- Call the AMR() function to integrate grids over dt.
- Advance the time by one step (t = t + dt).
- If the timestep is variable, then recalculate the timestep.
- Repeat steps 2 - 4 until t > tend (the end of the simulation time).
INCLUDES:
None.
USES:
- nodeinfodef.f90 supplies the NodeInfo data structure and some functions that operate on it.
- treeops.f90 supplies the Node and Forest structures and accompanying methods, as well as the ApplyOn_ functions.
- mpi_exec.f90 supplies functions used to set up distributed processing (most of which tend to have MPI_ somewhere in the name).
- serial_exec.f90 supplies functions used for single-processor processing.
- beario.f90 provides some file IO functions.
- scheme module supplies time-stepping scheme.
- contrib/astro/problem.f90 Contains problem-specific variables and functions.
Note:
See TracWiki
for help on using the wiki.