Tests the class clBoleVolumeCalculator.
More...
#include <TestBoleVolumeCalculator.h>
|
void | TestNormalProcessing (clSimManager *p_oSimManager) |
| Tests normal processing.
|
|
void | TestErrorProcessing (clSimManager *p_oSimManager) |
| Tests error processing.
|
|
const char * | WriteXMLFile1 () |
| Writes a parameter file for normal processing.
|
|
const char * | WriteXMLErrorFile1 () |
| Writes an error file where a form class value is less than 60.
|
|
const char * | WriteXMLErrorFile2 () |
| Writes an error file where a form class value is greater than 100.
|
|
const char * | WriteXMLErrorFile3 () |
| Writes an error file where the volume behavior is applied to seedlings.
|
|
void | WriteCommonStuff (std::fstream &oOut) |
| Writes common portions of the test parameter files (tree pop, plot, etc).
|
|
Tests the class clBoleVolumeCalculator.
void clTestBoleVolumeCalculator::TestBoleVolumeCalculator |
( |
| ) |
|
Performs all the tests from one function.
void clTestBoleVolumeCalculator::TestErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
void clTestBoleVolumeCalculator::TestNormalProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests normal processing.
WriteXMLFile1() does setup. Then 87 trees are created. A simulation is run for one timestep then the volume checked for all those trees.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
void clTestBoleVolumeCalculator::WriteCommonStuff |
( |
std::fstream & |
oOut | ) |
|
|
protected |
Writes common portions of the test parameter files (tree pop, plot, etc).
Ends with </trees>.
- Parameters
-
oOut | File stream to write to. |
const char* clTestBoleVolumeCalculator::WriteXMLErrorFile1 |
( |
| ) |
|
|
protected |
Writes an error file where a form class value is less than 60.
- Returns
- Filename written.
const char* clTestBoleVolumeCalculator::WriteXMLErrorFile2 |
( |
| ) |
|
|
protected |
Writes an error file where a form class value is greater than 100.
- Returns
- Filename written.
const char* clTestBoleVolumeCalculator::WriteXMLErrorFile3 |
( |
| ) |
|
|
protected |
Writes an error file where the volume behavior is applied to seedlings.
- Returns
- Filename written.
const char* clTestBoleVolumeCalculator::WriteXMLFile1 |
( |
| ) |
|
|
protected |
Writes a parameter file for normal processing.
There are 8 species (of which 7 are used), and the bole volume behavior is the only one in the run.
- Returns
- Filename written.
The documentation for this class was generated from the following file: