SORTIE C++ Test Documentation
|
#include <fstream>
Functions | |
void | CreateWeibullClimateSurvivalTrees (clTreePopulation *p_oPop) |
Tests the clNCIMasterMortality class, as it now encompasses the old clWeibullClimateSurvival class. More... | |
const char * | WriteWeibullClimateSurvivalXMLFile (int iYearsPerTimestep) |
Writes a parameter file with the designated number of years per time step. More... | |
const char * | WriteWeibullClimateSurvivalXMLErrorFile1 () |
Writes an error condition where max radius of neighbor effects is < 0. More... | |
const char * | WriteWeibullClimateSurvivalXMLErrorFile2 () |
Writes an error condition where max survival for a species is < 0. More... | |
const char * | WriteWeibullClimateSurvivalXMLErrorFile3 () |
Writes an error condition where Xb for a species = 0. More... | |
const char * | WriteWeibullClimateSurvivalXMLErrorFile4 () |
Writes an error condition where X0 for a species = 0. More... | |
const char * | WriteWeibullClimateSurvivalXMLErrorFile5 () |
Writes an error condition where a precipitation A = 0. More... | |
const char * | WriteWeibullClimateSurvivalXMLErrorFile6 () |
Writes an error condition where a temperature A = 0. More... | |
void | WriteWeibullClimateSurvivalCommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files (tree pop, plot, etc). More... | |
void | WriteWeibullClimateSurvivalTreeStuff (std::fstream &oOut) |
Writes common portions of the test parameter files (tree pop, plot, etc). More... | |
void | WriteWeibullClimateSurvivalErrorFileCommonStuff (std::fstream &oOut) |
Writes common portions of the test error parameter files (tree pop, plot, etc). More... | |
void CreateWeibullClimateSurvivalTrees | ( | clTreePopulation * | p_oPop | ) |
Tests the clNCIMasterMortality class, as it now encompasses the old clWeibullClimateSurvival class.
void WriteWeibullClimateSurvivalCommonStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test parameter files (tree pop, plot, etc).
Picks up right after the number of years per timestep and finishes out the file.
oOut | File stream to write to. |
void WriteWeibullClimateSurvivalErrorFileCommonStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test error parameter files (tree pop, plot, etc).
Starts at the beginning of the file and ends at the closing tree tag.
oOut | File stream to write to. |
void WriteWeibullClimateSurvivalTreeStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test parameter files (tree pop, plot, etc).
oOut | File stream to write to. |
const char* WriteWeibullClimateSurvivalXMLErrorFile1 | ( | ) |
Writes an error condition where max radius of neighbor effects is < 0.
const char* WriteWeibullClimateSurvivalXMLErrorFile2 | ( | ) |
Writes an error condition where max survival for a species is < 0.
const char* WriteWeibullClimateSurvivalXMLErrorFile3 | ( | ) |
Writes an error condition where Xb for a species = 0.
const char* WriteWeibullClimateSurvivalXMLErrorFile4 | ( | ) |
Writes an error condition where X0 for a species = 0.
const char* WriteWeibullClimateSurvivalXMLErrorFile5 | ( | ) |
Writes an error condition where a precipitation A = 0.
const char* WriteWeibullClimateSurvivalXMLErrorFile6 | ( | ) |
Writes an error condition where a temperature A = 0.
const char* WriteWeibullClimateSurvivalXMLFile | ( | int | iYearsPerTimestep | ) |
Writes a parameter file with the designated number of years per time step.
iYearsPerTimestep | The desired number of years per time step. |