This class tests the masting non-spatial disperse behavior (clMastingNonSpatialDisperse).
More...
#include <TestMastingNonSpatialDisperse.h>
|
void | NormalProcessingRun1 (clSimManager *p_oSimManager) |
| Tests masting non-spatial dispersal, run 1.
|
|
void | NormalProcessingRun2 (clSimManager *p_oSimManager) |
| Tests masting non-spatial dispersal, run 2.
|
|
void | NormalProcessingRun3 (clSimManager *p_oSimManager) |
| Tests masting non-spatial dispersal, run 3.
|
|
void | TestErrorProcessing (clSimManager *p_oSimManager) |
| Tests error processing.
|
|
const char * | WriteXMLFile1 () |
| Writes a parameter file to direct testing for run 1.
|
|
const char * | WriteXMLFile2 () |
| Writes a parameter file to direct testing for run 2.
|
|
const char * | WriteXMLFile3 () |
| Writes a parameter file to direct testing for run 3.
|
|
const char * | WriteXMLErrorFile1 () |
| Writes an error file where masting inverse gaussian mu is not > 0.
|
|
const char * | WriteXMLErrorFile2 () |
| Writes an error file where non-masting inverse gaussian mu is not > 0.
|
|
const char * | WriteXMLErrorFile3 () |
| Writes an error file where masting inverse gaussian lambda is not > 0.
|
|
const char * | WriteXMLErrorFile4 () |
| Writes an error file where non-masting inverse gaussian lambda is not > 0.
|
|
void | WriteTrees (std::fstream &oOut) |
| Writes tree stuff.
|
|
void | WriteAllometry (std::fstream &oOut) |
| Writes allometry stuff.
|
|
This class tests the masting non-spatial disperse behavior (clMastingNonSpatialDisperse).
void clTestMastingNonSpatialDisperse::NormalProcessingRun1 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests masting non-spatial dispersal, run 1.
It does the following: Checks that the correct params are used for mast vs. nonmast; checks that grouping happens correctly; checks that when there are no trees, basal area is split correctly. WriteXMLFile1 does setup.
- Parameters
-
p_oSimManager | Sim manager to direct testing. |
void clTestMastingNonSpatialDisperse::NormalProcessingRun2 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests masting non-spatial dispersal, run 2.
It does the following: Checks that grouping happens correctly; checks that basal area splits happen correctly; and checks multi-year timestep. WriteXMLFile2 does setup.
- Parameters
-
p_oSimManager | Sim manager to direct testing. |
void clTestMastingNonSpatialDisperse::NormalProcessingRun3 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests masting non-spatial dispersal, run 3.
It does the following: Checks using different draws appropriately. WriteXMLFile3 does setup.
- Parameters
-
p_oSimManager | Sim manager to direct testing. |
void clTestMastingNonSpatialDisperse::TestErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
private |
Tests error processing.
This uses WriteXMLErrorFileX to introduce errors and make sure that they are caught.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
void clTestMastingNonSpatialDisperse::TestMastingNonSpatialDisperse |
( |
| ) |
|
Rolls together all the tests.
void clTestMastingNonSpatialDisperse::WriteAllometry |
( |
std::fstream & |
oOut | ) |
|
|
private |
Writes allometry stuff.
- Parameters
-
oOut | File stream to write to. |
void clTestMastingNonSpatialDisperse::WriteTrees |
( |
std::fstream & |
oOut | ) |
|
|
private |
Writes tree stuff.
- Parameters
-
oOut | File stream to write to. |
const char* clTestMastingNonSpatialDisperse::WriteXMLErrorFile1 |
( |
| ) |
|
|
private |
Writes an error file where masting inverse gaussian mu is not > 0.
- Returns
- Filename written.
const char* clTestMastingNonSpatialDisperse::WriteXMLErrorFile2 |
( |
| ) |
|
|
private |
Writes an error file where non-masting inverse gaussian mu is not > 0.
- Returns
- Filename written.
const char* clTestMastingNonSpatialDisperse::WriteXMLErrorFile3 |
( |
| ) |
|
|
private |
Writes an error file where masting inverse gaussian lambda is not > 0.
- Returns
- Filename written.
const char* clTestMastingNonSpatialDisperse::WriteXMLErrorFile4 |
( |
| ) |
|
|
private |
Writes an error file where non-masting inverse gaussian lambda is not > 0.
- Returns
- Filename written.
const char* clTestMastingNonSpatialDisperse::WriteXMLFile1 |
( |
| ) |
|
|
private |
Writes a parameter file to direct testing for run 1.
- Returns
- Filename written.
const char* clTestMastingNonSpatialDisperse::WriteXMLFile2 |
( |
| ) |
|
|
private |
Writes a parameter file to direct testing for run 2.
- Returns
- Filename written.
const char* clTestMastingNonSpatialDisperse::WriteXMLFile3 |
( |
| ) |
|
|
private |
Writes a parameter file to direct testing for run 3.
- Returns
- Filename written.
The documentation for this class was generated from the following file: