SORTIE C++ Test Documentation
Functions
TestPRStormBiLevelGrowth.h File Reference
#include <fstream>

Functions

const char * WritePRStormBiLevelGrowthXMLFile1 ()
 Writes a parameter file for normal processing run 1.
 
const char * WritePRStormBiLevelGrowthXMLFile2 ()
 Writes a parameter file for normal processing run 2.
 
const char * WritePRStormBiLevelGrowthXMLErrorFile1 ()
 Writes a parameter file where a value for high-light growth threshold is not between 0 and 100.
 
const char * WritePRStormBiLevelGrowthXMLErrorFile2 ()
 Writes a parameter file where there is no "Storm Light" grid (because the storm light behavior is missing).
 
const char * WritePRStormBiLevelGrowthXMLErrorFile3 ()
 Writes a parameter file where there is no "Storm" grid (because the storm behavior is missing).
 
void WritePRStormBiLevelGrowthCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files.
 
void WritePRStormBiLevelGrowthGrowthParameters (std::fstream &oOut, int iListPosition)
 Writes growth parameters for the test parameter files.
 

Function Documentation

void WritePRStormBiLevelGrowthCommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files.

This starts with <randomSeed> and ends with </allometry>.

Parameters
oOutFile stream to write to.
void WritePRStormBiLevelGrowthGrowthParameters ( std::fstream &  oOut,
int  iListPosition 
)

Writes growth parameters for the test parameter files.

Parameters
oOutFile stream to write to.
iListPositionList position.
const char* WritePRStormBiLevelGrowthXMLErrorFile1 ( )

Writes a parameter file where a value for high-light growth threshold is not between 0 and 100.

Returns
Filename written.
const char* WritePRStormBiLevelGrowthXMLErrorFile2 ( )

Writes a parameter file where there is no "Storm Light" grid (because the storm light behavior is missing).

Returns
Filename written.
const char* WritePRStormBiLevelGrowthXMLErrorFile3 ( )

Writes a parameter file where there is no "Storm" grid (because the storm behavior is missing).

Returns
Filename written.
const char* WritePRStormBiLevelGrowthXMLFile1 ( )

Writes a parameter file for normal processing run 1.

Returns
Filename written.
const char* WritePRStormBiLevelGrowthXMLFile2 ( )

Writes a parameter file for normal processing run 2.

Returns
Filename written.