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

Functions

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

Function Documentation

◆ WriteMichMenNegGrowthErrorCommonStuff()

void WriteMichMenNegGrowthErrorCommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files.

Parameters
oOutFile stream to write to.

◆ WriteMichMenNegGrowthRun1CommonStuff()

void WriteMichMenNegGrowthRun1CommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files.

Parameters
oOutFile stream to write to.

◆ WriteMichMenNegGrowthRun2CommonStuff()

void WriteMichMenNegGrowthRun2CommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files.

Parameters
oOutFile stream to write to.

◆ WriteMichMenNegGrowthXMLErrorFile1()

const char* WriteMichMenNegGrowthXMLErrorFile1 ( )

Writes an error file where the beta parameter = 0.

Returns
File name of the freshly written parameter file.

◆ WriteMichMenNegGrowthXMLErrorFile2()

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.

◆ WriteMichMenNegGrowthXMLFile1()

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.

◆ WriteMichMenNegGrowthXMLFile2()

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.

◆ WriteMichMenNegGrowthXMLFile3()

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.