SORTIE C++ Test Documentation
Functions
TestTreeAgeCalculator.h File Reference

Functions

const char * WriteTreeAgeCalculatorXMLFile1 ()
 Tests the class clTreeAgeCalculator. More...
 
const char * WriteTreeAgeCalculatorXMLFile2 ()
 Writes the parameter file for normal processing. More...
 
const char * WriteTreeAgeCalculatorXMLErrorFile1 ()
 Writes an error file where the behavior is applied to snags. More...
 

Function Documentation

◆ WriteTreeAgeCalculatorXMLErrorFile1()

const char* WriteTreeAgeCalculatorXMLErrorFile1 ( )

Writes an error file where the behavior is applied to snags.

◆ WriteTreeAgeCalculatorXMLFile1()

const char* WriteTreeAgeCalculatorXMLFile1 ( )

Tests the class clTreeAgeCalculator.

Writes the parameter file for normal processing. There is 1 species; timestep length is 1 year; there is only one behavior, the tree age calculator behavior. There are 30 trees in a tree map, 10 of which have an age specified, 10 of which do not, and 10 of which do not have the age behavior applied.

Returns
Filename written.

◆ WriteTreeAgeCalculatorXMLFile2()

const char* WriteTreeAgeCalculatorXMLFile2 ( )

Writes the parameter file for normal processing.

There is 1 species; timestep length is 3 years; there is only one behavior, the tree age calculator behavior. There are also 10 trees per hectare as initial conditions.

Returns
Filename written.