SORTIE C++ Test Documentation
Functions
TestNCIBAGrowth.h File Reference
#include <fstream>

Functions

const char * WriteNCIBAGrowthXMLFile1 ()
 Writes a parameter file to direct testing. More...
 
const char * WriteNCIBAGrowthXMLFile2 ()
 Writes a 1-year timestep file. More...
 
const char * WriteNCIBAGrowthXMLFile3 ()
 Writes a 3-year timestep file. More...
 
const char * WriteNCIBAGrowthXMLFile4 ()
 Writes a 1-year timestep file. More...
 
const char * WriteNCIBAGrowthXMLErrorFile1 ()
 Writes an error condition where max radius of neighbor effects is < 0. More...
 
const char * WriteNCIBAGrowthXMLErrorFile2 ()
 Writes an error condition where a neighbor DBH is less than 0. More...
 
void WriteNCIBAGrowthCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files (tree pop, plot, etc). More...
 
void WriteNCIBAGrowthTreeStuff (std::fstream &oOut)
 Writes common portions of the test parameter files (tree pop, plot, etc). More...
 
void WriteNCIBAGrowthErrorFileCommonStuff (std::fstream &oOut)
 Writes common portions of the test error parameter files (tree pop, plot, etc). More...
 

Function Documentation

◆ WriteNCIBAGrowthCommonStuff()

void WriteNCIBAGrowthCommonStuff ( 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.

Parameters
oOutFile stream to write to.

◆ WriteNCIBAGrowthErrorFileCommonStuff()

void WriteNCIBAGrowthErrorFileCommonStuff ( 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.

Parameters
oOutFile stream to write to.

◆ WriteNCIBAGrowthTreeStuff()

void WriteNCIBAGrowthTreeStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files (tree pop, plot, etc).

Parameters
oOutFile stream to write to.

◆ WriteNCIBAGrowthXMLErrorFile1()

const char* WriteNCIBAGrowthXMLErrorFile1 ( )

Writes an error condition where max radius of neighbor effects is < 0.

Returns
Filename written.

◆ WriteNCIBAGrowthXMLErrorFile2()

const char* WriteNCIBAGrowthXMLErrorFile2 ( )

Writes an error condition where a neighbor DBH is less than 0.

Returns
Filename written.

◆ WriteNCIBAGrowthXMLFile1()

const char* WriteNCIBAGrowthXMLFile1 ( )

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.

Returns
Filename written.

◆ WriteNCIBAGrowthXMLFile2()

const char* WriteNCIBAGrowthXMLFile2 ( )

Writes a 1-year timestep file.

This contains 4 species. NCI growth (auto-height) is assigned to saplings and adults of Species 2, 3, and 4.

Returns
Filename written.

◆ WriteNCIBAGrowthXMLFile3()

const char* WriteNCIBAGrowthXMLFile3 ( )

Writes a 3-year timestep file.

This contains 4 species. NCI growth (auto-height) is assigned to saplings and adults of Species 2, 3, and 4.

Returns
Filename written.

◆ WriteNCIBAGrowthXMLFile4()

const char* WriteNCIBAGrowthXMLFile4 ( )

Writes a 1-year timestep file.

This contains 4 species. NCI growth (auto-height) is assigned to saplings and adults of Species 2, 3, and 4.

Returns
Filename written.