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

Functions

const char * WriteNCIMortXMLFile1 ()
 Writes a 1-year timestep file.
 
const char * WriteNCIMortXMLFile2 ()
 Writes a 3-year timestep file.
 
const char * WriteNCIMortXMLFile3 ()
 Writes a 1-year timestep file.
 
const char * WriteNCIMortXMLFile4 ()
 Writes a 3-year timestep file.
 
const char * WriteNCIMortXMLFile5 ()
 Writes a 1-year timestep file for Run 3.
 
const char * WriteNCIMortXMLFile6 ()
 Writes a 3-year timestep file for Run 3.
 
const char * WriteNCIMortXMLFile7 ()
 Writes a 1-year timestep file for Run 4.
 
const char * WriteNCIMortXMLFile8 ()
 Writes a 3-year timestep file for Run 4.
 
const char * WriteNCIMortXMLFile9 ()
 Writes a 1-year timestep file for Run 5.
 
const char * WriteNCIMortXMLFile10 ()
 Writes a 3-year timestep file for Run 5.
 
const char * WriteNCIMortXMLFile11 ()
 Writes a 1-year timestep file for Run 6.
 
const char * WriteNCIMortXMLFile12 ()
 Writes a 3-year timestep file for Run 6.
 
const char * WriteNCIMortXMLErrorFile1 ()
 Writes an error condition where max radius of neighbor effects is < 0.
 
const char * WriteNCIMortXMLErrorFile2 ()
 Writes an error condition where max probability for survival for a species is not between 0 and 1.
 
const char * WriteNCIMortXMLErrorFile3 ()
 Writes an error condition where Xb for a species = 0.
 
const char * WriteNCIMortXMLErrorFile4 ()
 Writes an error condition where X0 for a species = 0.
 
const char * WriteNCIMortXMLErrorFile5 ()
 Writes an error condition where med.
 
const char * WriteNCIMortXMLErrorFile6 ()
 Writes an error condition where med.
 
const char * WriteNCIMortXMLErrorFile7 ()
 Writes an error condition where full damage eta for a species < 0.
 
const char * WriteNCIMortXMLErrorFile8 ()
 Writes an error condition where full damage eta for a species > 1.
 
const char * WriteNCIMortXMLErrorFile9 ()
 Writes an error condition where med.
 
const char * WriteNCIMortXMLErrorFile10 ()
 Writes an error condition where med.
 
const char * WriteNCIMortXMLErrorFile11 ()
 Writes an error condition where full damage storm effect for a species < 0.
 
const char * WriteNCIMortXMLErrorFile12 ()
 Writes an error condition where full damage storm effect for a species > 1.
 
const char * WriteNCIMortXMLErrorFile13 ()
 Writes an error condition where shading is used but there is no light behavior.
 
void WriteNCIMortPlotAndTrees (std::fstream &oOut)
 Writes common portions of the test parameter files.
 
void WriteNCIMortStormParameters (std::fstream &oOut)
 Writes storm parameters.
 
void WriteNCIMortCommonErrorStuff (std::fstream &oOut)
 Writes common portions of the test error parameter files (tree pop, plot, etc).
 
void WriteNCIMortRun1CommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files for Run 1.
 
void WriteNCIMortRun2CommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files for Run 2.
 
void WriteNCIMortRun3CommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files for Run 3.
 
void WriteNCIMortRun4CommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files for Run 4.
 
void WriteNCIMortRun5CommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files for Run 5.
 
void WriteNCIMortRun6CommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files for Run 6.
 

Function Documentation

void WriteNCIMortCommonErrorStuff ( std::fstream &  oOut)

Writes common portions of the test error parameter files (tree pop, plot, etc).

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

Writes common portions of the test parameter files.

Ends with "</allometry>".

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

Writes common portions of the test parameter files for Run 1.

Picks up at the behavior list through the end of the file.

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

Writes common portions of the test parameter files for Run 2.

Picks up at the behavior list through the end of the file.

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

Writes common portions of the test parameter files for Run 3.

Picks up at the behavior list through the end of the file.

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

Writes common portions of the test parameter files for Run 4.

Picks up at the behavior list through the end of the file.

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

Writes common portions of the test parameter files for Run 5.

Picks up at the behavior list through the end of the file.

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

Writes common portions of the test parameter files for Run 6.

Picks up at the behavior list through the end of the file.

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

Writes storm parameters.

Everything from "<storm>" to "</storm>".

const char* WriteNCIMortXMLErrorFile1 ( )

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

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile10 ( )

Writes an error condition where med.

damage storm effect for a species > 1.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile11 ( )

Writes an error condition where full damage storm effect for a species < 0.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile12 ( )

Writes an error condition where full damage storm effect for a species > 1.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile13 ( )

Writes an error condition where shading is used but there is no light behavior.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile2 ( )

Writes an error condition where max probability for survival for a species is not between 0 and 1.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile3 ( )

Writes an error condition where Xb for a species = 0.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile4 ( )

Writes an error condition where X0 for a species = 0.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile5 ( )

Writes an error condition where med.

damage eta for a species < 0.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile6 ( )

Writes an error condition where med.

damage eta for a species > 1.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile7 ( )

Writes an error condition where full damage eta for a species < 0.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile8 ( )

Writes an error condition where full damage eta for a species > 1.

Returns
Filename written.
const char* WriteNCIMortXMLErrorFile9 ( )

Writes an error condition where med.

damage storm effect for a species < 0.

Returns
Filename written.
const char* WriteNCIMortXMLFile1 ( )

Writes a 1-year timestep file.

This contains 4 species, one unused (species 3; this helps catch array-index problems). NCI mortality is assigned to all saplings and adults.

Returns
Filename written.
const char* WriteNCIMortXMLFile10 ( )

Writes a 3-year timestep file for Run 5.

Returns
Filename written.
const char* WriteNCIMortXMLFile11 ( )

Writes a 1-year timestep file for Run 6.

Returns
Filename written.
const char* WriteNCIMortXMLFile12 ( )

Writes a 3-year timestep file for Run 6.

Returns
Filename written.
const char* WriteNCIMortXMLFile2 ( )

Writes a 3-year timestep file.

This contains 4 species, one unused (species 3; this helps catch array-index problems). NCI mortality is assigned to all saplings and adults.

Returns
Filename written.
const char* WriteNCIMortXMLFile3 ( )

Writes a 1-year timestep file.

NCI mortality is assigned to species 1 adults.

Returns
Filename written.
const char* WriteNCIMortXMLFile4 ( )

Writes a 3-year timestep file.

NCI mortality is assigned to species 1 adults.

Returns
Filename written.
const char* WriteNCIMortXMLFile5 ( )

Writes a 1-year timestep file for Run 3.

Returns
Filename written.
const char* WriteNCIMortXMLFile6 ( )

Writes a 3-year timestep file for Run 3.

Returns
Filename written.
const char* WriteNCIMortXMLFile7 ( )

Writes a 1-year timestep file for Run 4.

Returns
Filename written.
const char* WriteNCIMortXMLFile8 ( )

Writes a 3-year timestep file for Run 4.

Returns
Filename written.
const char* WriteNCIMortXMLFile9 ( )

Writes a 1-year timestep file for Run 5.

Returns
Filename written.