#include <TestCompetitionHarvest.h>
Public Member Functions | |
void | TestCompetitionHarvest () |
Groups together all the other harvest testing functions into a comprehensive harvest test. | |
Protected Member Functions | |
void | DoHarvestRun1 (clSimManager *p_oSimManager) |
Performs the first harvest run. | |
void | DoHarvestRun2 (clSimManager *p_oSimManager) |
Performs the second harvest run. | |
void | DoHarvestRun3 (clSimManager *p_oSimManager) |
Performs the third harvest run. | |
void | DoErrorProcessing (clSimManager *p_oSimManager) |
Tests error processing. | |
char * | WriteXMLFile1 () |
Writes a parameter file for run 1. | |
char * | WriteXMLFile1a () |
Writes a parameter file for run 1, without the file written. | |
char * | WriteXMLFile2 () |
Writes a parameter file for run 2. | |
char * | WriteXMLFile3 () |
Writes a parameter file for run 3. | |
char * | WriteXMLErrorFile1 () |
Writes a parameter file where the competition harvest behavior is applied to seedlings. | |
char * | WriteXMLErrorFile2 () |
Writes a parameter file where the harvest type is fixed interval and the harvest interval is less than 1. | |
char * | WriteXMLErrorFile3 () |
Writes a parameter file where the harvest type is fixed BA with proportion to cut but cut amount is not a proportion between 0 and 1. | |
char * | WriteXMLErrorFile4 () |
Writes a parameter file where the species proportions to cut do not add up to 1. | |
char * | WriteXMLErrorFile5 () |
Writes a parameter file where the harvest type is fixed BA but the minimum interval is less than 1. | |
char * | WriteXMLErrorFile6 () |
Writes a parameter file where a value in max crowding radius is not greater than 0. | |
void | WriteCommonErrorStuff (std::fstream &oOut) |
Writes common portions of the test parameter files (tree pop, plot, etc). |
void clTestCompetitionHarvest::TestCompetitionHarvest | ( | ) |
Groups together all the other harvest testing functions into a comprehensive harvest test.
void clTestCompetitionHarvest::DoHarvestRun1 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Performs the first harvest run.
p_oSimManager | Sim manager object. |
void clTestCompetitionHarvest::DoHarvestRun2 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Performs the second harvest run.
p_oSimManager | Sim manager object. |
void clTestCompetitionHarvest::DoHarvestRun3 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Performs the third harvest run.
p_oSimManager | Sim manager object. |
void clTestCompetitionHarvest::DoErrorProcessing | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests error processing.
p_oSimManager | Sim manager object. |
char* clTestCompetitionHarvest::WriteXMLFile1 | ( | ) | [protected] |
Writes a parameter file for run 1.
char* clTestCompetitionHarvest::WriteXMLFile1a | ( | ) | [protected] |
Writes a parameter file for run 1, without the file written.
char* clTestCompetitionHarvest::WriteXMLFile2 | ( | ) | [protected] |
Writes a parameter file for run 2.
char* clTestCompetitionHarvest::WriteXMLFile3 | ( | ) | [protected] |
Writes a parameter file for run 3.
char* clTestCompetitionHarvest::WriteXMLErrorFile1 | ( | ) | [protected] |
Writes a parameter file where the competition harvest behavior is applied to seedlings.
char* clTestCompetitionHarvest::WriteXMLErrorFile2 | ( | ) | [protected] |
Writes a parameter file where the harvest type is fixed interval and the harvest interval is less than 1.
char* clTestCompetitionHarvest::WriteXMLErrorFile3 | ( | ) | [protected] |
Writes a parameter file where the harvest type is fixed BA with proportion to cut but cut amount is not a proportion between 0 and 1.
char* clTestCompetitionHarvest::WriteXMLErrorFile4 | ( | ) | [protected] |
Writes a parameter file where the species proportions to cut do not add up to 1.
char* clTestCompetitionHarvest::WriteXMLErrorFile5 | ( | ) | [protected] |
Writes a parameter file where the harvest type is fixed BA but the minimum interval is less than 1.
char* clTestCompetitionHarvest::WriteXMLErrorFile6 | ( | ) | [protected] |
Writes a parameter file where a value in max crowding radius is not greater than 0.
void clTestCompetitionHarvest::WriteCommonErrorStuff | ( | std::fstream & | oOut | ) | [protected] |
Writes common portions of the test parameter files (tree pop, plot, etc).
Ends with </allometry>.
oOut | File stream to write to. |