SORTIE C++ Test Documentation
|
#include <fstream>
Functions | |
const char * | WriteWeibullClimateGrowthXMLFile1 () |
Tests a legacy configuration of clNCIMasterGrowth - the clWeibullClimateGrowth class, whose functionality got folded into it. More... | |
const char * | WriteWeibullClimateGrowthXMLFile2 () |
Writes a 3-year timestep file. More... | |
const char * | WriteWeibullClimateGrowthXMLFile3 () |
Writes a 1-year timestep file. More... | |
const char * | WriteWeibullClimateGrowthXMLErrorFile1 () |
Writes an error condition where max radius of neighbor effects is < 0. More... | |
const char * | WriteWeibullClimateGrowthXMLErrorFile2 () |
Writes an error condition where max growth for a species is < 0. More... | |
const char * | WriteWeibullClimateGrowthXMLErrorFile3 () |
Writes an error condition where Xb for a species = 0. More... | |
const char * | WriteWeibullClimateGrowthXMLErrorFile4 () |
Writes an error condition where X0 for a species = 0. More... | |
const char * | WriteWeibullClimateGrowthXMLErrorFile5 () |
Writes an error condition where a precipitation A = 0. More... | |
const char * | WriteWeibullClimateGrowthXMLErrorFile6 () |
Writes an error condition where a temperature A = 0. More... | |
const char * | WriteWeibullClimateGrowthXMLErrorFile7 () |
Writes an error condition where a nitrogen Xb = 0. More... | |
void | WriteWeibullClimateGrowthCommonStuff (std::fstream &oOut, int iPrecipType) |
Writes common portions of the test parameter files (tree pop, plot, etc). More... | |
void | WriteWeibullClimateGrowthTreeStuff (std::fstream &oOut) |
Writes common portions of the test parameter files (tree pop, plot, etc). More... | |
void | WriteWeibullClimateGrowthErrorFileCommonStuff (std::fstream &oOut) |
Writes common portions of the test error parameter files (tree pop, plot, etc). More... | |
void WriteWeibullClimateGrowthCommonStuff | ( | std::fstream & | oOut, |
int | iPrecipType | ||
) |
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. |
iPrecipType | Precipitation type. |
void WriteWeibullClimateGrowthErrorFileCommonStuff | ( | 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 WriteWeibullClimateGrowthTreeStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test parameter files (tree pop, plot, etc).
oOut | File stream to write to. |
const char* WriteWeibullClimateGrowthXMLErrorFile1 | ( | ) |
Writes an error condition where max radius of neighbor effects is < 0.
const char* WriteWeibullClimateGrowthXMLErrorFile2 | ( | ) |
Writes an error condition where max growth for a species is < 0.
const char* WriteWeibullClimateGrowthXMLErrorFile3 | ( | ) |
Writes an error condition where Xb for a species = 0.
const char* WriteWeibullClimateGrowthXMLErrorFile4 | ( | ) |
Writes an error condition where X0 for a species = 0.
const char* WriteWeibullClimateGrowthXMLErrorFile5 | ( | ) |
Writes an error condition where a precipitation A = 0.
const char* WriteWeibullClimateGrowthXMLErrorFile6 | ( | ) |
Writes an error condition where a temperature A = 0.
const char* WriteWeibullClimateGrowthXMLErrorFile7 | ( | ) |
Writes an error condition where a nitrogen Xb = 0.
const char* WriteWeibullClimateGrowthXMLFile1 | ( | ) |
Tests a legacy configuration of clNCIMasterGrowth - the clWeibullClimateGrowth class, whose functionality got folded into it.
Writes a 1-year timestep file. This contains 4 species. Weibull climate growth (auto-height) is assigned to saplings and adults of Species 2, 3, and 4.
const char* WriteWeibullClimateGrowthXMLFile2 | ( | ) |
Writes a 3-year timestep file.
This contains 4 species. Weibull climate growth (auto-height) is assigned to saplings and adults of Species 2, 3, and 4.
const char* WriteWeibullClimateGrowthXMLFile3 | ( | ) |
Writes a 1-year timestep file.
Same as File 1, but with a nitrogen effect as well.