SORTIE C++ Test Documentation
|
#include <fstream>
Functions | |
const char * | WriteNCIGrowthXMLFile1 () |
Writes a parameter file to direct testing. More... | |
const char * | WriteNCIGrowthXMLFile2 () |
Writes a 1-year timestep file. More... | |
const char * | WriteNCIGrowthXMLFile3 () |
Writes a 3-year timestep file. More... | |
const char * | WriteNCIGrowthXMLFile4 () |
Writes a 1-year timestep file. More... | |
const char * | WriteNCIGrowthXMLFile5 () |
Writes a 3-year timestep file. More... | |
const char * | WriteNCIGrowthXMLFile6 () |
Writes a 1-timestep file for Run 3. More... | |
const char * | WriteNCIGrowthXMLFile7 () |
Writes a 3-timestep file for Run 3. More... | |
const char * | WriteNCIGrowthXMLFile8 () |
Writes a 1-timestep file for Run 4. More... | |
const char * | WriteNCIGrowthXMLFile9 () |
Writes a 3-timestep file for Run 4. More... | |
const char * | WriteNCIGrowthXMLFile10 () |
Writes a 1-timestep file for Run 5. More... | |
const char * | WriteNCIGrowthXMLFile11 () |
Writes a 3-timestep file for Run 5. More... | |
const char * | WriteNCIGrowthXMLFile12 () |
Writes a 1-timestep file for Run 6. More... | |
const char * | WriteNCIGrowthXMLFile13 () |
Writes a 3-timestep file for Run 6. More... | |
const char * | WriteNCIGrowthXMLErrorFile1 (bool bDefault) |
Writes an error condition where max radius of neighbor effects is < 0, with default NCI or NCI with neighbor damage. More... | |
const char * | WriteNCIGrowthXMLErrorFile2 () |
Writes an error condition where max growth for a species is < 0. More... | |
const char * | WriteNCIGrowthXMLErrorFile3 () |
Writes an error condition where Xb for a species = 0. More... | |
const char * | WriteNCIGrowthXMLErrorFile4 () |
Writes an error condition where X0 for a species = 0. More... | |
const char * | WriteNCIGrowthXMLErrorFile5 () |
Writes an error condition where med. More... | |
const char * | WriteNCIGrowthXMLErrorFile6 () |
Writes an error condition where med. More... | |
const char * | WriteNCIGrowthXMLErrorFile7 () |
Writes an error condition where full damage eta for a species < 0. More... | |
const char * | WriteNCIGrowthXMLErrorFile8 () |
Writes an error condition where full damage eta for a species > 1. More... | |
const char * | WriteNCIGrowthXMLErrorFile9 () |
Writes an error condition where med. More... | |
const char * | WriteNCIGrowthXMLErrorFile10 () |
Writes an error condition where med. More... | |
const char * | WriteNCIGrowthXMLErrorFile11 () |
Writes an error condition where full damage storm effect for a species < 0. More... | |
const char * | WriteNCIGrowthXMLErrorFile12 () |
Writes an error condition where full damage storm effect for a species > 1. More... | |
const char * | WriteNCIGrowthXMLErrorFile13 () |
Writes an error condition where shading is used but there is no light behavior. More... | |
const char * | WriteNCIGrowthXMLErrorFile14 (bool bDefault) |
Writes an error condition where a neighbor DBH is less than 0, with default NCI or NCI with neighbor damage. More... | |
void | WriteNCIGrowthCommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files (tree pop, plot, etc). More... | |
void | WriteNCIGrowthRun1CommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files for Run 1. More... | |
void | WriteNCIGrowthRun2CommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files for Run 2. More... | |
void | WriteNCIGrowthRun3CommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files for Run 3. More... | |
void | WriteNCIGrowthRun4CommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files for Run 4. More... | |
void | WriteNCIGrowthRun5CommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files for Run 5. More... | |
void | WriteNCIGrowthRun6CommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files for Run 6. More... | |
void | WriteNCIGrowthErrorFileCommonStuff (std::fstream &oOut) |
Writes common portions of the test error parameter files (tree pop, plot, etc). More... | |
void | WriteNCIGrowthStormErrorFileCommonStuff (std::fstream &oOut) |
Writes common portions of the test error parameter files that deal with storms. More... | |
void WriteNCIGrowthCommonStuff | ( | 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 ends at the closing tree tag.
oOut | File stream to write to. |
void WriteNCIGrowthErrorFileCommonStuff | ( | 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 WriteNCIGrowthRun1CommonStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test parameter files for Run 1.
Picks up at the behavior list through the end of the file.
oOut | File stream to write to. |
void WriteNCIGrowthRun2CommonStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test parameter files for Run 2.
Picks up at the behavior list through the end of the file.
oOut | File stream to write to. |
void WriteNCIGrowthRun3CommonStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test parameter files for Run 3.
Picks up at the behavior list through the end of the file.
oOut | File stream to write to. |
void WriteNCIGrowthRun4CommonStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test parameter files for Run 4.
Picks up at the behavior list through the end of the file.
oOut | File stream to write to. |
void WriteNCIGrowthRun5CommonStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test parameter files for Run 5.
Picks up at the behavior list through the end of the file.
oOut | File stream to write to. |
void WriteNCIGrowthRun6CommonStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test parameter files for Run 6.
Picks up at the behavior list through the end of the file.
oOut | File stream to write to. |
void WriteNCIGrowthStormErrorFileCommonStuff | ( | std::fstream & | oOut | ) |
Writes common portions of the test error parameter files that deal with storms.
oOut | File stream to write to. |
const char* WriteNCIGrowthXMLErrorFile1 | ( | bool | bDefault | ) |
Writes an error condition where max radius of neighbor effects is < 0, with default NCI or NCI with neighbor damage.
bDefault | if true, write default NCI; if false, write with neighbor damage. |
const char* WriteNCIGrowthXMLErrorFile10 | ( | ) |
Writes an error condition where med.
damage storm effect for a species > 1.
const char* WriteNCIGrowthXMLErrorFile11 | ( | ) |
Writes an error condition where full damage storm effect for a species < 0.
const char* WriteNCIGrowthXMLErrorFile12 | ( | ) |
Writes an error condition where full damage storm effect for a species > 1.
const char* WriteNCIGrowthXMLErrorFile13 | ( | ) |
Writes an error condition where shading is used but there is no light behavior.
const char* WriteNCIGrowthXMLErrorFile14 | ( | bool | bDefault | ) |
Writes an error condition where a neighbor DBH is less than 0, with default NCI or NCI with neighbor damage.
bDefault | if true, write default NCI; if false, write with neighbor damage. |
const char* WriteNCIGrowthXMLErrorFile2 | ( | ) |
Writes an error condition where max growth for a species is < 0.
const char* WriteNCIGrowthXMLErrorFile3 | ( | ) |
Writes an error condition where Xb for a species = 0.
const char* WriteNCIGrowthXMLErrorFile4 | ( | ) |
Writes an error condition where X0 for a species = 0.
const char* WriteNCIGrowthXMLErrorFile5 | ( | ) |
Writes an error condition where med.
damage eta for a species < 0.
const char* WriteNCIGrowthXMLErrorFile6 | ( | ) |
Writes an error condition where med.
damage eta for a species > 1.
const char* WriteNCIGrowthXMLErrorFile7 | ( | ) |
Writes an error condition where full damage eta for a species < 0.
const char* WriteNCIGrowthXMLErrorFile8 | ( | ) |
Writes an error condition where full damage eta for a species > 1.
const char* WriteNCIGrowthXMLErrorFile9 | ( | ) |
Writes an error condition where med.
damage storm effect for a species < 0.
const char* WriteNCIGrowthXMLFile1 | ( | ) |
Writes a parameter file to direct testing.
This contains two species, identical in all ways except Species 1 is assigned NCI growth as a diameter-auto, and Species 2 is assigned NCI growth as diameter-only.
const char* WriteNCIGrowthXMLFile10 | ( | ) |
Writes a 1-timestep file for Run 5.
const char* WriteNCIGrowthXMLFile11 | ( | ) |
Writes a 3-timestep file for Run 5.
const char* WriteNCIGrowthXMLFile12 | ( | ) |
Writes a 1-timestep file for Run 6.
const char* WriteNCIGrowthXMLFile13 | ( | ) |
Writes a 3-timestep file for Run 6.
const char* WriteNCIGrowthXMLFile2 | ( | ) |
Writes a 1-year timestep file.
This contains 3 species. NCI growth (auto-height) is assigned to adults of Species 1.
const char* WriteNCIGrowthXMLFile3 | ( | ) |
Writes a 3-year timestep file.
This contains 3 species. NCI growth (auto-height) is assigned to adults of Species 1.
const char* WriteNCIGrowthXMLFile4 | ( | ) |
Writes a 1-year timestep file.
This contains 4 species, one unused (species 3; this helps catch array-index problems). NCI growth (auto-height) is assigned to all saplings and adults.
const char* WriteNCIGrowthXMLFile5 | ( | ) |
Writes a 3-year timestep file.
This contains 4 species, one unused (species 3; this helps catch array-index problems). NCI growth (auto-height) is assigned to all saplings and adults.
const char* WriteNCIGrowthXMLFile6 | ( | ) |
Writes a 1-timestep file for Run 3.
const char* WriteNCIGrowthXMLFile7 | ( | ) |
Writes a 3-timestep file for Run 3.
const char* WriteNCIGrowthXMLFile8 | ( | ) |
Writes a 1-timestep file for Run 4.
const char* WriteNCIGrowthXMLFile9 | ( | ) |
Writes a 3-timestep file for Run 4.