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

Functions

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

Function Documentation

◆ WriteNCIMortCommonErrorStuff()

void WriteNCIMortCommonErrorStuff ( std::fstream &  oOut)

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

Parameters
oOutFile stream to write to.

◆ WriteNCIMortPlotAndTrees()

void WriteNCIMortPlotAndTrees ( std::fstream &  oOut)

Writes common portions of the test parameter files.

Ends with "</allometry>".

Parameters
oOutFile stream to write to.

◆ WriteNCIMortRun1CommonStuff()

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.

◆ WriteNCIMortRun2CommonStuff()

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.

◆ WriteNCIMortRun3CommonStuff()

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.

◆ WriteNCIMortRun4CommonStuff()

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.

◆ WriteNCIMortRun5CommonStuff()

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.

◆ WriteNCIMortRun6CommonStuff()

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.

◆ WriteNCIMortStormParameters()

void WriteNCIMortStormParameters ( std::fstream &  oOut)

Writes storm parameters.

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

◆ WriteNCIMortXMLErrorFile1()

const char* WriteNCIMortXMLErrorFile1 ( )

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

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile10()

const char* WriteNCIMortXMLErrorFile10 ( )

Writes an error condition where med.

damage storm effect for a species > 1.

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile11()

const char* WriteNCIMortXMLErrorFile11 ( )

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

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile12()

const char* WriteNCIMortXMLErrorFile12 ( )

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

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile13()

const char* WriteNCIMortXMLErrorFile13 ( )

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

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile2()

const char* WriteNCIMortXMLErrorFile2 ( )

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

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile3()

const char* WriteNCIMortXMLErrorFile3 ( )

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

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile4()

const char* WriteNCIMortXMLErrorFile4 ( )

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

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile5()

const char* WriteNCIMortXMLErrorFile5 ( )

Writes an error condition where med.

damage eta for a species < 0.

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile6()

const char* WriteNCIMortXMLErrorFile6 ( )

Writes an error condition where med.

damage eta for a species > 1.

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile7()

const char* WriteNCIMortXMLErrorFile7 ( )

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

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile8()

const char* WriteNCIMortXMLErrorFile8 ( )

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

Returns
Filename written.

◆ WriteNCIMortXMLErrorFile9()

const char* WriteNCIMortXMLErrorFile9 ( )

Writes an error condition where med.

damage storm effect for a species < 0.

Returns
Filename written.

◆ WriteNCIMortXMLFile1()

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.

◆ WriteNCIMortXMLFile10()

const char* WriteNCIMortXMLFile10 ( )

Writes a 3-year timestep file for Run 5.

Returns
Filename written.

◆ WriteNCIMortXMLFile11()

const char* WriteNCIMortXMLFile11 ( )

Writes a 1-year timestep file for Run 6.

Returns
Filename written.

◆ WriteNCIMortXMLFile12()

const char* WriteNCIMortXMLFile12 ( )

Writes a 3-year timestep file for Run 6.

Returns
Filename written.

◆ WriteNCIMortXMLFile2()

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.

◆ WriteNCIMortXMLFile3()

const char* WriteNCIMortXMLFile3 ( )

Writes a 1-year timestep file.

NCI mortality is assigned to species 1 adults.

Returns
Filename written.

◆ WriteNCIMortXMLFile4()

const char* WriteNCIMortXMLFile4 ( )

Writes a 3-year timestep file.

NCI mortality is assigned to species 1 adults.

Returns
Filename written.

◆ WriteNCIMortXMLFile5()

const char* WriteNCIMortXMLFile5 ( )

Writes a 1-year timestep file for Run 3.

Returns
Filename written.

◆ WriteNCIMortXMLFile6()

const char* WriteNCIMortXMLFile6 ( )

Writes a 3-year timestep file for Run 3.

Returns
Filename written.

◆ WriteNCIMortXMLFile7()

const char* WriteNCIMortXMLFile7 ( )

Writes a 1-year timestep file for Run 4.

Returns
Filename written.

◆ WriteNCIMortXMLFile8()

const char* WriteNCIMortXMLFile8 ( )

Writes a 3-year timestep file for Run 4.

Returns
Filename written.

◆ WriteNCIMortXMLFile9()

const char* WriteNCIMortXMLFile9 ( )

Writes a 1-year timestep file for Run 5.

Returns
Filename written.