SORTIE C++ Test Documentation
|
#include <fstream>
Functions | |
void | VerifySubstrateRun1TS1Proportions (clGrid *p_oSubstrateGrid) |
This class tests substrate. More... | |
void | VerifySubstrateRun1TS2Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 2 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS3Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 3 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS4Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 4 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS1Cohorts (clGrid *p_oSubstrateGrid) |
Verifies the cohort structure for timestep 1 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS2Cohorts (clGrid *p_oSubstrateGrid) |
Verifies the cohort structure for timestep 2 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS3Cohorts (clGrid *p_oSubstrateGrid) |
Verifies the cohort structure for timestep 3 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS4Cohorts (clGrid *p_oSubstrateGrid) |
Verifies the cohort structure for timestep 4 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS1Tipup (clGrid *p_oCalcsGrid) |
Verifies new tipup for timestep 1 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS2Tipup (clGrid *p_oCalcsGrid) |
Verifies new tipup for timestep 2 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS3Tipup (clGrid *p_oCalcsGrid) |
Verifies new tipup for timestep 3 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS4Tipup (clGrid *p_oCalcsGrid) |
Verifies new tipup for timestep 4 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS1SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS2SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS3SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun1TS4SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun1(). More... | |
void | VerifySubstrateRun2TS1Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 1 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS2Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 2 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS3Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 3 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS4Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 4 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS1Cohorts (clGrid *p_oSubstrateGrid) |
Verifies the cohort structure for timestep 1 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS2Cohorts (clGrid *p_oSubstrateGrid) |
Verifies the cohort structure for timestep 2 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS3Cohorts (clGrid *p_oSubstrateGrid) |
Verifies the cohort structure for timestep 3 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS4Cohorts (clGrid *p_oSubstrateGrid) |
Verifies the cohort structure for timestep 4 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS1Tipup (clGrid *p_oCalcsGrid) |
Verifies new tipup for timestep 1 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS2Tipup (clGrid *p_oCalcsGrid) |
Verifies new tipup for timestep 2 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS3Tipup (clGrid *p_oCalcsGrid) |
Verifies new tipup for timestep 3 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS4Tipup (clGrid *p_oCalcsGrid) |
Verifies new tipup for timestep 4 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS1SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS2SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS3SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun2TS4SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun2(). More... | |
void | VerifySubstrateRun4TS1Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 1 of TestSubstrateRun4(). More... | |
void | VerifySubstrateRun4TS2Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 2 of TestSubstrateRun4(). More... | |
void | VerifySubstrateRun4TS3Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 3 of TestSubstrateRun4(). More... | |
void | VerifySubstrateRun4TS4Proportions (clGrid *p_oSubstrateGrid) |
Verifies the substrate proportions for timestep 4 of TestSubstrateRun4(). More... | |
void | VerifySubstrateRun4TS1SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun4(). More... | |
void | VerifySubstrateRun4TS2SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun4(). More... | |
void | VerifySubstrateRun4TS3SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun4(). More... | |
void | VerifySubstrateRun4TS4SubstrateArrays (clGrid *p_oCalcsGrid) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun4(). More... | |
const char * | WriteSubstrateXMLFile1 () |
Writes a parameter file for harvest and mortality testing. More... | |
const char * | WriteSubstrateXMLFile2 () |
Writes a file for testing normal processing run 1. More... | |
const char * | WriteSubstrateXMLFile3 () |
Writes a file for testing normal processing run 3. More... | |
const char * | WriteSubstrateXMLFile4 () |
Writes a parameter file for testing tree tipup. More... | |
const char * | WriteSubstrateXMLFile5 () |
Writes a parameter file for testing tree fall. More... | |
const char * | WriteSubstrateXMLFile6 () |
Writes a file for testing normal processing run 4. More... | |
void | WriteSubstrateCommonTreeStuff (std::fstream &oOut) |
Writes tree species information for runs of 1 species. More... | |
void VerifySubstrateRun1TS1Cohorts | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the cohort structure for timestep 1 of TestSubstrateRun1().
void VerifySubstrateRun1TS1Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
This class tests substrate.
Verifies the substrate proportions for timestep 1 of TestSubstrateRun1().
void VerifySubstrateRun1TS1SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun1().
void VerifySubstrateRun1TS1Tipup | ( | clGrid * | p_oCalcsGrid | ) |
Verifies new tipup for timestep 1 of TestSubstrateRun1().
void VerifySubstrateRun1TS2Cohorts | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the cohort structure for timestep 2 of TestSubstrateRun1().
void VerifySubstrateRun1TS2Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 2 of TestSubstrateRun1().
void VerifySubstrateRun1TS2SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun1().
void VerifySubstrateRun1TS2Tipup | ( | clGrid * | p_oCalcsGrid | ) |
Verifies new tipup for timestep 2 of TestSubstrateRun1().
void VerifySubstrateRun1TS3Cohorts | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the cohort structure for timestep 3 of TestSubstrateRun1().
void VerifySubstrateRun1TS3Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 3 of TestSubstrateRun1().
void VerifySubstrateRun1TS3SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun1().
void VerifySubstrateRun1TS3Tipup | ( | clGrid * | p_oCalcsGrid | ) |
Verifies new tipup for timestep 3 of TestSubstrateRun1().
void VerifySubstrateRun1TS4Cohorts | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the cohort structure for timestep 4 of TestSubstrateRun1().
void VerifySubstrateRun1TS4Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 4 of TestSubstrateRun1().
void VerifySubstrateRun1TS4SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun1().
void VerifySubstrateRun1TS4Tipup | ( | clGrid * | p_oCalcsGrid | ) |
Verifies new tipup for timestep 4 of TestSubstrateRun1().
void VerifySubstrateRun2TS1Cohorts | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the cohort structure for timestep 1 of TestSubstrateRun2().
void VerifySubstrateRun2TS1Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 1 of TestSubstrateRun2().
void VerifySubstrateRun2TS1SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun2().
void VerifySubstrateRun2TS1Tipup | ( | clGrid * | p_oCalcsGrid | ) |
Verifies new tipup for timestep 1 of TestSubstrateRun2().
void VerifySubstrateRun2TS2Cohorts | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the cohort structure for timestep 2 of TestSubstrateRun2().
void VerifySubstrateRun2TS2Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 2 of TestSubstrateRun2().
void VerifySubstrateRun2TS2SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun2().
void VerifySubstrateRun2TS2Tipup | ( | clGrid * | p_oCalcsGrid | ) |
Verifies new tipup for timestep 2 of TestSubstrateRun2().
void VerifySubstrateRun2TS3Cohorts | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the cohort structure for timestep 3 of TestSubstrateRun2().
void VerifySubstrateRun2TS3Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 3 of TestSubstrateRun2().
void VerifySubstrateRun2TS3SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun2().
void VerifySubstrateRun2TS3Tipup | ( | clGrid * | p_oCalcsGrid | ) |
Verifies new tipup for timestep 3 of TestSubstrateRun2().
void VerifySubstrateRun2TS4Cohorts | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the cohort structure for timestep 4 of TestSubstrateRun2().
void VerifySubstrateRun2TS4Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 4 of TestSubstrateRun2().
void VerifySubstrateRun2TS4SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun2().
void VerifySubstrateRun2TS4Tipup | ( | clGrid * | p_oCalcsGrid | ) |
Verifies new tipup for timestep 4 of TestSubstrateRun2().
void VerifySubstrateRun4TS1Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 1 of TestSubstrateRun4().
void VerifySubstrateRun4TS1SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun4().
void VerifySubstrateRun4TS2Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 2 of TestSubstrateRun4().
void VerifySubstrateRun4TS2SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun4().
void VerifySubstrateRun4TS3Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 3 of TestSubstrateRun4().
void VerifySubstrateRun4TS3SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun4().
void VerifySubstrateRun4TS4Proportions | ( | clGrid * | p_oSubstrateGrid | ) |
Verifies the substrate proportions for timestep 4 of TestSubstrateRun4().
void VerifySubstrateRun4TS4SubstrateArrays | ( | clGrid * | p_oCalcsGrid | ) |
Verifies the fresh and decayed logs arrays for timestep 1 of TestSubstrateRun4().
void WriteSubstrateCommonTreeStuff | ( | std::fstream & | oOut | ) |
Writes tree species information for runs of 1 species.
Starts with <trees> and ends with </allometry>.
const char* WriteSubstrateXMLFile1 | ( | ) |
Writes a parameter file for harvest and mortality testing.
const char* WriteSubstrateXMLFile2 | ( | ) |
Writes a file for testing normal processing run 1.
const char* WriteSubstrateXMLFile3 | ( | ) |
Writes a file for testing normal processing run 3.
const char* WriteSubstrateXMLFile4 | ( | ) |
Writes a parameter file for testing tree tipup.
There are three species. There is a behavior which is applied to snags. The timestep length is 1 year. The substrate grid cell size is set to 45 X 45 meters.
const char* WriteSubstrateXMLFile5 | ( | ) |
Writes a parameter file for testing tree fall.
There are three species. For species 1, 20% of dead trees fall; for species 2, 50%; and for species 3, 0%. There is a behavior which is applied to snags. The timestep length is 1 year.
In order to test grid stuff, this also has no harvest defined but has Substrate and substratecalcs grid maps.
const char* WriteSubstrateXMLFile6 | ( | ) |
Writes a file for testing normal processing run 4.