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

Functions

const char * WriteDensDepInfestationXMLFile1 ()
 Writes the parameter file for TestNormalProcessing1().
 
const char * WriteDensDepInfestationXMLFile2 ()
 Writes the parameter file for TestNormalProcessing2().
 
const char * WriteDensDepInfestationXMLFile3 ()
 Writes the parameter file for TestNormalProcessing3().
 
const char * WriteDensDepInfestationXMLFile4 ()
 Writes the parameter file for TestNormalProcessing4().
 
const char * WriteDensDepInfestationXMLErrorFile1 ()
 Writes an error file where the minimum DBH is negative.
 
const char * WriteDensDepInfestationXMLErrorFile2 ()
 Writes an error file where the insect infestation behavior is applied to seedlings.
 
const char * WriteDensDepInfestationXMLErrorFile3 ()
 Writes an error file where the probability of conditional susceptibility is not between 0 and 1.
 
const char * WriteDensDepInfestationXMLErrorFile4 ()
 Writes an error file where a value in the cohort cutoff DBH is less than 0.
 
const char * WriteDensDepInfestationXMLErrorFile5 ()
 Writes an error file where max infestation is not between 0 and 1.
 
const char * WriteDensDepInfestationXMLErrorFile6 ()
 Writes an error file where the probability of resistance is not between 0 and 1.
 
void WriteDensDepInfestationErrorCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files.
 
void WriteDensDepNormalProcessingCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files.
 

Function Documentation

void WriteDensDepInfestationErrorCommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files.

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

Writes an error file where the minimum DBH is negative.

Returns
File name of the freshly written parameter file.
const char* WriteDensDepInfestationXMLErrorFile2 ( )

Writes an error file where the insect infestation behavior is applied to seedlings.

Returns
File name of the freshly written parameter file.
const char* WriteDensDepInfestationXMLErrorFile3 ( )

Writes an error file where the probability of conditional susceptibility is not between 0 and 1.

Returns
File name of the freshly written parameter file.
const char* WriteDensDepInfestationXMLErrorFile4 ( )

Writes an error file where a value in the cohort cutoff DBH is less than 0.

Returns
File name of the freshly written parameter file.
const char* WriteDensDepInfestationXMLErrorFile5 ( )

Writes an error file where max infestation is not between 0 and 1.

Returns
File name of the freshly written parameter file.
const char* WriteDensDepInfestationXMLErrorFile6 ( )

Writes an error file where the probability of resistance is not between 0 and 1.

Returns
File name of the freshly written parameter file.
const char* WriteDensDepInfestationXMLFile1 ( )

Writes the parameter file for TestNormalProcessing1().

Parameters
iNumYrsTimestepNumber of years per timestep.
Returns
File name of the freshly written parameter file.
const char* WriteDensDepInfestationXMLFile2 ( )

Writes the parameter file for TestNormalProcessing2().

Returns
File name of the freshly written parameter file.
const char* WriteDensDepInfestationXMLFile3 ( )

Writes the parameter file for TestNormalProcessing3().

Returns
File name of the freshly written parameter file.
const char* WriteDensDepInfestationXMLFile4 ( )

Writes the parameter file for TestNormalProcessing4().

Returns
File name of the freshly written parameter file.
void WriteDensDepNormalProcessingCommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files.

Parameters
oOutFile stream to write to.