clTestClimateChange Class Reference

Tests the clClimateChange class. More...

#include <TestClimateChange.h>

List of all members.

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.
char * WriteXMLFile1 ()
 Writes a parameter file for normal proceessing, run 1.
char * WriteXMLFile2 ()
 Writes a parameter file for normal proceessing, run 2.
char * WriteXMLFile3 ()
 Writes a parameter file for normal proceessing, run 3.
char * WriteXMLFile4 ()
 Writes a parameter file for normal proceessing, run 4.
char * WriteXMLFile5 ()
 Writes a parameter file for normal proceessing, run 5.
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_oSimManager Sim Manager to do runs.

void clTestClimateChange::TestNormalProcessingRun2 ( clSimManager *  p_oSimManager  )  [private]

Tests normal processing for a 3-year timestep.

WriteXMLFile2() does setup.

Parameters:
p_oSimManager Sim 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_oSimManager Sim 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_oSimManager Sim Manager to do runs.

void clTestClimateChange::TestNormalProcessingRun5 ( clSimManager *  p_oSimManager  )  [private]

Tests normal processing for a 1-year timestep.

WriteXMLFile5() does setup.

Parameters:
p_oSimManager Sim Manager to do runs.

void clTestClimateChange::TestNormalProcessingRun6 ( clSimManager *  p_oSimManager  )  [private]

Tests normal processing for a 1-year timestep.

WriteXMLFile6() does setup.

Parameters:
p_oSimManager Sim Manager to do runs.

char* clTestClimateChange::WriteXMLFile1 (  )  [private]

Writes a parameter file for normal proceessing, run 1.

Returns:
Filename written.

char* clTestClimateChange::WriteXMLFile2 (  )  [private]

Writes a parameter file for normal proceessing, run 2.

Returns:
Filename written.

char* clTestClimateChange::WriteXMLFile3 (  )  [private]

Writes a parameter file for normal proceessing, run 3.

Returns:
Filename written.

char* clTestClimateChange::WriteXMLFile4 (  )  [private]

Writes a parameter file for normal proceessing, run 4.

Returns:
Filename written.

char* clTestClimateChange::WriteXMLFile5 (  )  [private]

Writes a parameter file for normal proceessing, run 5.

Returns:
Filename written.

char* clTestClimateChange::WriteXMLFile6 (  )  [private]

Writes a parameter file for normal proceessing, run 6.

Returns:
Filename written.

void clTestClimateChange::WriteCommonStuff ( std::fstream &  oOut,
int  iNumYrsPerTS 
) [private]

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

Parameters:
oOut File stream to write to.
iNumYrsPerTS Number of years per timestep.


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

Generated on Tue Apr 19 14:05:58 2011 for SORTIE C++ Test Documentation by  doxygen 1.5.6