SORTIE C++ Test Documentation
Public Member Functions | Private Member Functions | List of all members
clTestClimateChange Class Reference

Tests the clClimateChange class. More...

#include <TestClimateChange.h>

Inheritance diagram for clTestClimateChange:

Public Member Functions

void TestClimateChange ()
 Rolls together all the tests into one function.
 

Private Member Functions

void TestNormalProcessingRun1 (clSimManager *p_oSimManager)
 Tests normal processing for a 1-year timestep.
 
void TestNormalProcessingRun2 (clSimManager *p_oSimManager)
 Tests normal processing for a 3-year timestep.
 
void TestNormalProcessingRun3 (clSimManager *p_oSimManager)
 Tests normal processing for a 1-year timestep, only temperature.
 
void TestNormalProcessingRun4 (clSimManager *p_oSimManager)
 Tests normal processing for a 1-year timestep, only precipitation.
 
void TestNormalProcessingRun5 (clSimManager *p_oSimManager)
 Tests normal processing for a 1-year timestep.
 
void TestNormalProcessingRun6 (clSimManager *p_oSimManager)
 Tests normal processing for a 1-year timestep.
 
const char * WriteXMLFile1 ()
 Writes a parameter file for normal proceessing, run 1.
 
const char * WriteXMLFile2 ()
 Writes a parameter file for normal proceessing, run 2.
 
const char * WriteXMLFile3 ()
 Writes a parameter file for normal proceessing, run 3.
 
const char * WriteXMLFile4 ()
 Writes a parameter file for normal proceessing, run 4.
 
const char * WriteXMLFile5 ()
 Writes a parameter file for normal proceessing, run 5.
 
const char * WriteXMLFile6 ()
 Writes a parameter file for normal proceessing, run 6.
 
void WriteCommonStuff (std::fstream &oOut, int iNumYrsPerTS)
 Writes common portions of the test parameter files (allometry and tree pop).
 

Detailed Description

Tests the clClimateChange class.

Member Function Documentation

void clTestClimateChange::TestClimateChange ( )

Rolls together all the tests into one function.

void clTestClimateChange::TestNormalProcessingRun1 ( clSimManager *  p_oSimManager)
private

Tests normal processing for a 1-year timestep.

WriteXMLFile1() does setup.

Parameters
p_oSimManagerSim Manager to do runs.
void clTestClimateChange::TestNormalProcessingRun2 ( clSimManager *  p_oSimManager)
private

Tests normal processing for a 3-year timestep.

WriteXMLFile2() does setup.

Parameters
p_oSimManagerSim Manager to do runs.
void clTestClimateChange::TestNormalProcessingRun3 ( clSimManager *  p_oSimManager)
private

Tests normal processing for a 1-year timestep, only temperature.

WriteXMLFile3() does setup.

Parameters
p_oSimManagerSim Manager to do runs.
void clTestClimateChange::TestNormalProcessingRun4 ( clSimManager *  p_oSimManager)
private

Tests normal processing for a 1-year timestep, only precipitation.

WriteXMLFile4() does setup.

Parameters
p_oSimManagerSim Manager to do runs.
void clTestClimateChange::TestNormalProcessingRun5 ( clSimManager *  p_oSimManager)
private

Tests normal processing for a 1-year timestep.

WriteXMLFile5() does setup.

Parameters
p_oSimManagerSim Manager to do runs.
void clTestClimateChange::TestNormalProcessingRun6 ( clSimManager *  p_oSimManager)
private

Tests normal processing for a 1-year timestep.

WriteXMLFile6() does setup.

Parameters
p_oSimManagerSim Manager to do runs.
void clTestClimateChange::WriteCommonStuff ( std::fstream &  oOut,
int  iNumYrsPerTS 
)
private

Writes common portions of the test parameter files (allometry and tree pop).

Parameters
oOutFile stream to write to.
iNumYrsPerTSNumber of years per timestep.
const char* clTestClimateChange::WriteXMLFile1 ( )
private

Writes a parameter file for normal proceessing, run 1.

Returns
Filename written.
const char* clTestClimateChange::WriteXMLFile2 ( )
private

Writes a parameter file for normal proceessing, run 2.

Returns
Filename written.
const char* clTestClimateChange::WriteXMLFile3 ( )
private

Writes a parameter file for normal proceessing, run 3.

Returns
Filename written.
const char* clTestClimateChange::WriteXMLFile4 ( )
private

Writes a parameter file for normal proceessing, run 4.

Returns
Filename written.
const char* clTestClimateChange::WriteXMLFile5 ( )
private

Writes a parameter file for normal proceessing, run 5.

Returns
Filename written.
const char* clTestClimateChange::WriteXMLFile6 ( )
private

Writes a parameter file for normal proceessing, run 6.

Returns
Filename written.

The documentation for this class was generated from the following file: