Tests the clBrowsedRelativeGrowth class.
More...
#include <TestBrowsedRelativeGrowth.h>
|
void | TestNormalRun1 (clSimManager *p_oSimManager) |
| Tests the growth when the timestep length is one year.
|
|
void | TestNormalRun2 (clSimManager *p_oSimManager) |
| Tests the growth when the timestep length is three years.
|
|
void | TestNormalRun3 (clSimManager *p_oSimManager) |
| Tests when growth is diam only.
|
|
void | TestErrorProcessing (clSimManager *p_oSimManager) |
| Tests error processing.
|
|
const char * | WriteXMLFile1 () |
| Writes a parameter file for normal run 1.
|
|
const char * | WriteXMLFile2 () |
| Writes a parameter file for normal run 2.
|
|
const char * | WriteXMLFile3 () |
| Writes a parameter file for normal run 3.
|
|
const char * | WriteXMLErrorFile1 () |
| Writes a parameter file where not all trees also have light.
|
|
const char * | WriteXMLErrorFile2 () |
| Writes a parameter file where not all trees also have browsing.
|
|
void | WritePlotAndTrees (std::fstream &oOut) |
| Writes common portions of the test parameter files (tree pop, plot, etc).
|
|
void | WriteCommonParameters (std::fstream &oOut) |
| Writes common parameters of the test parameter file.
|
|
Tests the clBrowsedRelativeGrowth class.
void clTestBrowsedRelativeGrowth::TestBrowsedRelativeGrowth |
( |
| ) |
|
Combines the testing into one function.
void clTestBrowsedRelativeGrowth::TestErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests error processing.
- Parameters
-
p_oSimManager | Sim manager object for doing the run. |
void clTestBrowsedRelativeGrowth::TestNormalRun1 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests the growth when the timestep length is one year.
WriteXMLFile1() is used to set up the run.
- Parameters
-
p_oSimManager | Sim manager object for doing the run. |
void clTestBrowsedRelativeGrowth::TestNormalRun2 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests the growth when the timestep length is three years.
WriteXMLFile2() is used to set up the run.
- Parameters
-
p_oSimManager | Sim manager object for doing the run. |
void clTestBrowsedRelativeGrowth::TestNormalRun3 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests when growth is diam only.
- Parameters
-
p_oSimManager | Sim manager object for doing the run. |
void clTestBrowsedRelativeGrowth::WriteCommonParameters |
( |
std::fstream & |
oOut | ) |
|
|
protected |
Writes common parameters of the test parameter file.
- Parameters
-
oOut | File stream to write to. |
void clTestBrowsedRelativeGrowth::WritePlotAndTrees |
( |
std::fstream & |
oOut | ) |
|
|
protected |
Writes common portions of the test parameter files (tree pop, plot, etc).
- Parameters
-
oOut | File stream to write to. |
const char* clTestBrowsedRelativeGrowth::WriteXMLErrorFile1 |
( |
| ) |
|
|
protected |
Writes a parameter file where not all trees also have light.
- Returns
- Filename written.
const char* clTestBrowsedRelativeGrowth::WriteXMLErrorFile2 |
( |
| ) |
|
|
protected |
Writes a parameter file where not all trees also have browsing.
- Returns
- Filename written.
const char* clTestBrowsedRelativeGrowth::WriteXMLFile1 |
( |
| ) |
|
|
protected |
Writes a parameter file for normal run 1.
- Returns
- Filename written.
const char* clTestBrowsedRelativeGrowth::WriteXMLFile2 |
( |
| ) |
|
|
protected |
Writes a parameter file for normal run 2.
- Returns
- Filename written.
const char* clTestBrowsedRelativeGrowth::WriteXMLFile3 |
( |
| ) |
|
|
protected |
Writes a parameter file for normal run 3.
- Returns
- Filename written.
The documentation for this class was generated from the following file: