wiki:BEAR

Version 13 (modified by trac, 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:

  1. Load program data from BearData and bear.rundata files.
  1. Set up a new problem.
  1. Load the tree data from a previously-run simulation, starting at a specific frame.
  1. 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:

Note: See TracWiki for help on using the wiki.