clTestWeibullClimateQuadratGrowth Class Reference

Tests the clWeibullClimateGrowth class. More...

#include <TestWeibullClimateQuadratGrowth.h>

List of all members.

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).


Detailed Description

Tests the clWeibullClimateGrowth class.

Member Function Documentation

void clTestWeibullClimateQuadratGrowth::TestWeibullClimateQuadratGrowth (  ) 

Tests the clWeibullClimateGrowth class.

void clTestWeibullClimateQuadratGrowth::TestRun1 ( clSimManager *  p_oSimManager  ) 

Performs a test run of growth for a 1-year timestep.

Parameters:
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.

Parameters:
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.

Parameters:
iYearsPerTimestep The desired number of years per time step.
Returns:
Filename written.

char* clTestWeibullClimateQuadratGrowth::WriteXMLErrorFile1 (  )  [protected]

Writes an error condition where max radius of neighbor effects is < 0.

Returns:
Filename written.

char* clTestWeibullClimateQuadratGrowth::WriteXMLErrorFile2 (  )  [protected]

Writes an error condition where max growth for a species is < 0.

Returns:
Filename written.

char* clTestWeibullClimateQuadratGrowth::WriteXMLErrorFile3 (  )  [protected]

Writes an error condition where a precipitation A = 0.

Returns:
Filename written.

char* clTestWeibullClimateQuadratGrowth::WriteXMLErrorFile4 (  )  [protected]

Writes an error condition where a temperature A = 0.

Returns:
Filename written.

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.

Parameters:
oOut File stream to write to.


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

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