Version 13 (modified by 12 years ago) ( diff ) | ,
---|
Back to BearEZ
BEAR(id, np)
Click here to view the source.
Description
BEAR is the main processing subroutine of the BearCLAW software. Its functionality can be divided into four major categories:
- Load program data from BearData and bear.rundata files.
- Set up a new problem.
- Load the tree data from a previously-run simulation, starting at a specific frame.
- Run the calculations needed to solve a problem.
The general structure of BEAR is as follows:
<Declare Variables> <Load data from files> If <Restart> Then <Load forest data from previous simulation> Else <Create new forest structure> <Set up problem data> End If <Run calculations> <Release system resources and exit>
INCLUDES:
- rundata.f90 supplies a number of variables that are read in from files.
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.