#include <TestStormLight.h>
Public Member Functions | |
void | TestStormLight () |
Rolls together all the tests into one function. | |
Private Member Functions | |
void | NormalProcessingRun1 (clSimManager *p_oSimManager) |
Tests normal processing - run 1. | |
void | NormalProcessingRun2 (clSimManager *p_oSimManager) |
Tests normal processing - run 2. | |
void | TestErrorProcessing (clSimManager *p_oSimManager) |
Tests error processing. | |
char * | WriteXMLFile1 () |
Writes a parameter file for normal proceessing run 1. | |
char * | WriteXMLFile2 () |
Writes a parameter file for normal proceessing run 1. | |
char * | WriteXMLErrorFile1 () |
Writes an error file where the minimum number of trees for a full canopy is less than 0. |
void clTestStormLight::NormalProcessingRun1 | ( | clSimManager * | p_oSimManager | ) | [private] |
Tests normal processing - run 1.
This run uses a deterministic light level and puts in a given set of trees, both with and without storm damage. This then checks the light values in select cells to make sure that the proper values are set. WriteXMLFile1() does setup.
p_oSimManager | Sim Manager to do runs. |
void clTestStormLight::NormalProcessingRun2 | ( | clSimManager * | p_oSimManager | ) | [private] |
Tests normal processing - run 2.
This run uses a deterministic light level but no snags in the run. This puts in a given set of trees, both with and without storm damage. This then checks the light values in select cells to make sure that the proper values are set. WriteXMLFile2() does setup.
p_oSimManager | Sim Manager to do runs. |
void clTestStormLight::TestErrorProcessing | ( | clSimManager * | p_oSimManager | ) | [private] |
Tests error processing.
p_oSimManager | Sim Manager to do runs. |
char* clTestStormLight::WriteXMLErrorFile1 | ( | ) | [private] |
Writes an error file where the minimum number of trees for a full canopy is less than 0.
char* clTestStormLight::WriteXMLFile1 | ( | ) | [private] |
Writes a parameter file for normal proceessing run 1.
This has the storm and storm damage appliers, a mortality behavior to satisfy storm requirements, and the storm light behavior. The timestep length is 1 year.
char* clTestStormLight::WriteXMLFile2 | ( | ) | [private] |
Writes a parameter file for normal proceessing run 1.
This has the storm and storm damage appliers, a mortality behavior to satisfy storm requirements, and the storm light behavior. The timestep length is 1 year.