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

Functions

void CreateTrees (clTreePopulation *p_oPop, clPlot *p_oPlot, float fOffset)
 Creates the set of testing trees.
 
void CheckConditOmegaCalculatorRun1Results (clGrid *p_oGrid)
 Checks the results of the Condit's Omega grid for the first run.
 
const char * WriteConditOmegaCalculatorXMLFile1 ()
 Writes the parameter file for normal processing.
 
const char * WriteConditOmegaCalculatorXMLFile2 ()
 Writes the parameter file for normal processing.
 
const char * WriteConditOmegaCalculatorXMLFile3 ()
 Writes the parameter file for normal processing.
 
const char * WriteConditOmegaCalculatorXMLFile4 ()
 Writes the parameter file for normal processing.
 
const char * WriteConditOmegaCalculatorXMLErrorFile1 ()
 Writes an error file where the max distance is less than the increment.
 
const char * WriteConditOmegaCalculatorXMLErrorFile2 ()
 Writes an error file where the max distance is less than zero.
 
const char * WriteConditOmegaCalculatorXMLErrorFile3 ()
 Writes an error file where the increment is less than zero.
 
void WriteConditOmegaCalculatorCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files between the plot and the analysis parameters.
 

Function Documentation

void CheckConditOmegaCalculatorRun1Results ( clGrid *  p_oGrid)

Checks the results of the Condit's Omega grid for the first run.

Parameters
p_oGridCondit's Omega grid.
void CreateTrees ( clTreePopulation *  p_oPop,
clPlot *  p_oPlot,
float  fOffset 
)

Creates the set of testing trees.

Parameters
p_oPopTree population
p_oPlotPlot object
fOffsetAny offset to be applied to the tree coordinates
void WriteConditOmegaCalculatorCommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files between the plot and the analysis parameters.

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

Writes an error file where the max distance is less than the increment.

Returns
Filename written.
const char* WriteConditOmegaCalculatorXMLErrorFile2 ( )

Writes an error file where the max distance is less than zero.

Returns
Filename written.
const char* WriteConditOmegaCalculatorXMLErrorFile3 ( )

Writes an error file where the increment is less than zero.

Returns
Filename written.
const char* WriteConditOmegaCalculatorXMLFile1 ( )

Writes the parameter file for normal processing.

There are 4 species; timestep length is 1 year; there is only one behavior, the Condit's Omega calculator behavior.

Returns
Filename written.
const char* WriteConditOmegaCalculatorXMLFile2 ( )

Writes the parameter file for normal processing.

There are 4 species; timestep length is 1 year; there is only one behavior, the Condit's Omega calculator behavior.

Returns
Filename written.
const char* WriteConditOmegaCalculatorXMLFile3 ( )

Writes the parameter file for normal processing.

There are 4 species; timestep length is 1 year; there is only one behavior, the Condit's Omega calculator behavior.

Returns
Filename written.
const char* WriteConditOmegaCalculatorXMLFile4 ( )

Writes the parameter file for normal processing.

There are 4 species; timestep length is 1 year; there is only one behavior, the Condit's Omega calculator behavior.

Returns
Filename written.