#include <TestStormKilledPartitionedBiomass.h>
Public Member Functions | |
void | TestStormKilledPartitionedBiomass () |
Performs all the tests from one function. | |
Protected Member Functions | |
void | TestNormalProcessingRun1 (clSimManager *p_oSimManager) |
Tests normal processing, run 1. | |
void | TestNormalProcessingRun2 (clSimManager *p_oSimManager) |
Tests normal processing, run 2. | |
void | TestNormalProcessingRun3 (clSimManager *p_oSimManager) |
Tests normal processing, run 3. | |
void | TestNormalProcessingRun4 (clSimManager *p_oSimManager) |
Tests normal processing, run 4. | |
void | TestErrorProcessing (clSimManager *p_oSimManager) |
Tests error processing. | |
char * | WriteXMLFile1 () |
Writes the parameter file for normal processing run 1. | |
char * | WriteXMLFile2 () |
Writes the parameter file for normal processing run 2. | |
char * | WriteXMLFile3 () |
Writes the parameter file for normal processing run 3. | |
char * | WriteXMLFile4 () |
Writes the parameter file for normal processing run 4. | |
char * | WriteXMLErrorFile1 () |
Writes an error file where the Partitioned Biomass behavior, DBH version, is applied to seedlings. | |
char * | WriteXMLErrorFile2 () |
Writes an error file where the Partitioned Biomass behavior, height version, is applied to seedlings. | |
void | CreateTrees (clTreePopulation *p_oPop) |
Creates the test tree set. | |
void | WriteCommonFileBegin (std::fstream &oOut) |
Writes common beginning of the test parameter files, which is everything after the grid settings. | |
void | WriteCommonFileEnd (std::fstream &oOut) |
Writes common ending of the test parameter files, which is everything after the grid settings. |
void clTestStormKilledPartitionedBiomass::TestNormalProcessingRun1 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests normal processing, run 1.
This uses WriteXMLFile1() to do setup.
p_oSimManager | Sim Manager object to call for runs. |
void clTestStormKilledPartitionedBiomass::TestNormalProcessingRun2 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests normal processing, run 2.
This uses WriteXMLFile2() to do setup.
p_oSimManager | Sim Manager object to call for runs. |
void clTestStormKilledPartitionedBiomass::TestNormalProcessingRun3 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests normal processing, run 3.
This uses WriteXMLFile3() to do setup.
p_oSimManager | Sim Manager object to call for runs. |
void clTestStormKilledPartitionedBiomass::TestNormalProcessingRun4 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests normal processing, run 4.
This uses WriteXMLFile4() to do setup.
p_oSimManager | Sim Manager object to call for runs. |
void clTestStormKilledPartitionedBiomass::TestErrorProcessing | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests error processing.
This uses WriteXMLErrorFileX() to introduce errors and makes sure that they are caught.
p_oSimManager | Sim Manager object to call for runs. |
char* clTestStormKilledPartitionedBiomass::WriteXMLFile1 | ( | ) | [protected] |
Writes the parameter file for normal processing run 1.
char* clTestStormKilledPartitionedBiomass::WriteXMLFile2 | ( | ) | [protected] |
Writes the parameter file for normal processing run 2.
char* clTestStormKilledPartitionedBiomass::WriteXMLFile3 | ( | ) | [protected] |
Writes the parameter file for normal processing run 3.
char* clTestStormKilledPartitionedBiomass::WriteXMLFile4 | ( | ) | [protected] |
Writes the parameter file for normal processing run 4.
char* clTestStormKilledPartitionedBiomass::WriteXMLErrorFile1 | ( | ) | [protected] |
Writes an error file where the Partitioned Biomass behavior, DBH version, is applied to seedlings.
char* clTestStormKilledPartitionedBiomass::WriteXMLErrorFile2 | ( | ) | [protected] |
Writes an error file where the Partitioned Biomass behavior, height version, is applied to seedlings.
void clTestStormKilledPartitionedBiomass::CreateTrees | ( | clTreePopulation * | p_oPop | ) | [protected] |
Creates the test tree set.
p_oPop | Tree population object. |
void clTestStormKilledPartitionedBiomass::WriteCommonFileBegin | ( | std::fstream & | oOut | ) | [protected] |
Writes common beginning of the test parameter files, which is everything after the grid settings.
oOut | File stream to write to. |
void clTestStormKilledPartitionedBiomass::WriteCommonFileEnd | ( | std::fstream & | oOut | ) | [protected] |
Writes common ending of the test parameter files, which is everything after the grid settings.
oOut | File stream to write to. |