SORTIE C++ Test Documentation
Functions
TestMichMenNegGrowth.h File Reference

Functions

const char * WriteMichMenNegGrowthXMLFile1 ()
 Tests the clMichMenNegGrowth class.
 
const char * WriteMichMenNegGrowthXMLFile2 ()
 Writes a parameter file to direct testing.
 
const char * WriteMichMenNegGrowthXMLFile3 ()
 Writes a parameter file to direct testing.
 
const char * WriteMichMenNegGrowthXMLErrorFile1 ()
 Writes an error file where the beta parameter = 0.
 
const char * WriteMichMenNegGrowthXMLErrorFile2 ()
 Writes an error file where the autocorrelation chance is not between 0 and 1.
 
void WriteMichMenNegGrowthRun1CommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files.
 
void WriteMichMenNegGrowthRun2CommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files.
 
void WriteMichMenNegGrowthErrorCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files.
 

Function Documentation

void WriteMichMenNegGrowthErrorCommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files.

Parameters
oOutFile stream to write to.
void WriteMichMenNegGrowthRun1CommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files.

Parameters
oOutFile stream to write to.
void WriteMichMenNegGrowthRun2CommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files.

Parameters
oOutFile stream to write to.
const char* WriteMichMenNegGrowthXMLErrorFile1 ( )

Writes an error file where the beta parameter = 0.

Returns
File name of the freshly written parameter file.
const char* WriteMichMenNegGrowthXMLErrorFile2 ( )

Writes an error file where the autocorrelation chance is not between 0 and 1.

Returns
File name of the freshly written parameter file.
const char* WriteMichMenNegGrowthXMLFile1 ( )

Tests the clMichMenNegGrowth class.

Writes a parameter file to direct testing. Timestep length is 1 year. This contains four species. Relative height growth is applied to all species. Diameter incrementer applied to all as well.

Returns
Filename written.
const char* WriteMichMenNegGrowthXMLFile2 ( )

Writes a parameter file to direct testing.

Timestep length is 3 years. This contains four species. Relative height growth is applied to all species. Diameter incrementer applied to all as well.

Returns
Filename written.
const char* WriteMichMenNegGrowthXMLFile3 ( )

Writes a parameter file to direct testing.

Timestep length is 1 year. This contains five species. Relative height growth is applied to all species. Diameter incrementer applied to all as well.

Returns
Filename written.