#include <TestWeibullClimateQuadratGrowth.h>
Public Member Functions | |
void | TestWeibullClimateQuadratGrowth () |
Tests the clWeibullClimateGrowth class. | |
void | TestRun1 (clSimManager *p_oSimManager) |
Performs a test run of growth for a 1-year timestep. | |
void | TestRun2 (clSimManager *p_oSimManager) |
Performs a test run of growth for a 3-year timestep. | |
void | TestErrorProcessing (clSimManager *p_oSimManager) |
Tests error processing for input files. | |
Protected Member Functions | |
char * | WriteXMLFile (int iYearsPerTimestep) |
Writes a parameter file with the designated number of years per time step. | |
char * | WriteXMLErrorFile1 () |
Writes an error condition where max radius of neighbor effects is < 0. | |
char * | WriteXMLErrorFile2 () |
Writes an error condition where max growth for a species is < 0. | |
char * | WriteXMLErrorFile3 () |
Writes an error condition where a precipitation A = 0. | |
char * | WriteXMLErrorFile4 () |
Writes an error condition where a temperature A = 0. | |
void | WriteErrorFileCommonStuff (std::fstream &oOut) |
Writes common portions of the test error parameter files (tree pop, plot, etc). |
void clTestWeibullClimateQuadratGrowth::TestWeibullClimateQuadratGrowth | ( | ) |
Tests the clWeibullClimateGrowth class.
void clTestWeibullClimateQuadratGrowth::TestRun1 | ( | clSimManager * | p_oSimManager | ) |
Performs a test run of growth for a 1-year timestep.
p_oSimManager | Sim Manager object to do the runs. |
void clTestWeibullClimateQuadratGrowth::TestRun2 | ( | clSimManager * | p_oSimManager | ) |
Performs a test run of growth for a 3-year timestep.
p_oSimManager | Sim Manager object to do the runs. |
void clTestWeibullClimateQuadratGrowth::TestErrorProcessing | ( | clSimManager * | p_oSimManager | ) |
Tests error processing for input files.
char* clTestWeibullClimateQuadratGrowth::WriteXMLFile | ( | int | iYearsPerTimestep | ) | [protected] |
Writes a parameter file with the designated number of years per time step.
iYearsPerTimestep | The desired number of years per time step. |
char* clTestWeibullClimateQuadratGrowth::WriteXMLErrorFile1 | ( | ) | [protected] |
Writes an error condition where max radius of neighbor effects is < 0.
char* clTestWeibullClimateQuadratGrowth::WriteXMLErrorFile2 | ( | ) | [protected] |
Writes an error condition where max growth for a species is < 0.
char* clTestWeibullClimateQuadratGrowth::WriteXMLErrorFile3 | ( | ) | [protected] |
Writes an error condition where a precipitation A = 0.
char* clTestWeibullClimateQuadratGrowth::WriteXMLErrorFile4 | ( | ) | [protected] |
Writes an error condition where a temperature A = 0.
void clTestWeibullClimateQuadratGrowth::WriteErrorFileCommonStuff | ( | std::fstream & | oOut | ) | [protected] |
Writes common portions of the test error parameter files (tree pop, plot, etc).
Starts at the beginning of the file and ends at the closing tree tag.
oOut | File stream to write to. |