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

Functions

const char * WriteInsectInfestationMortalityXMLFile1 ()
 Writes a parameter file for normal processing run 1.
 
const char * WriteInsectInfestationMortalityXMLErrorFile1 ()
 Writes a parameter file where a value for mortality probability intercept is not between 0 and 1.
 
const char * WriteInsectInfestationMortalityXMLErrorFile2 ()
 Writes a parameter file where a value for max mortality probability is not between 0 and 1.
 
const char * WriteInsectInfestationMortalityXMLErrorFile3 ()
 Writes a parameter file where there is no insect infestation behavior.
 
const char * WriteInsectInfestationMortalityXMLErrorFile4 ()
 Writes a parameter file where a value for X0 is 0.
 
void WriteInsectInfestationMortalityErrorCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files.
 

Function Documentation

void WriteInsectInfestationMortalityErrorCommonStuff ( 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.
const char* WriteInsectInfestationMortalityXMLErrorFile1 ( )

Writes a parameter file where a value for mortality probability intercept is not between 0 and 1.

Returns
Filename written.
const char* WriteInsectInfestationMortalityXMLErrorFile2 ( )

Writes a parameter file where a value for max mortality probability is not between 0 and 1.

Returns
Filename written.
const char* WriteInsectInfestationMortalityXMLErrorFile3 ( )

Writes a parameter file where there is no insect infestation behavior.

Returns
Filename written.
const char* WriteInsectInfestationMortalityXMLErrorFile4 ( )

Writes a parameter file where a value for X0 is 0.

Returns
Filename written.
const char* WriteInsectInfestationMortalityXMLFile1 ( )

Writes a parameter file for normal processing run 1.

Returns
Filename written.