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

Functions

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

Function Documentation

◆ WriteInsectInfestationMortalityErrorCommonStuff()

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.

◆ WriteInsectInfestationMortalityXMLErrorFile1()

const char* WriteInsectInfestationMortalityXMLErrorFile1 ( )

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

Returns
Filename written.

◆ WriteInsectInfestationMortalityXMLErrorFile2()

const char* WriteInsectInfestationMortalityXMLErrorFile2 ( )

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

Returns
Filename written.

◆ WriteInsectInfestationMortalityXMLErrorFile3()

const char* WriteInsectInfestationMortalityXMLErrorFile3 ( )

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

Returns
Filename written.

◆ WriteInsectInfestationMortalityXMLErrorFile4()

const char* WriteInsectInfestationMortalityXMLErrorFile4 ( )

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

Returns
Filename written.

◆ WriteInsectInfestationMortalityXMLFile1()

const char* WriteInsectInfestationMortalityXMLFile1 ( )

Writes a parameter file for normal processing run 1.

Returns
Filename written.