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

Functions

const char * WriteNCIJuvenileGrowthXMLFile1 ()
 Writes a 1-year timestep file. More...
 
const char * WriteNCIJuvenileGrowthXMLFile2 ()
 Writes a 3-year timestep file. More...
 
const char * WriteNCIJuvenileGrowthXMLFile3 ()
 Writes a 1-year timestep file. More...
 
const char * WriteNCIJuvenileGrowthXMLFile4 ()
 Writes a 3-year timestep file. More...
 
const char * WriteNCIJuvenileGrowthXMLErrorFile1 ()
 Writes an error condition where max radius of neighbor effects is < 0. More...
 
const char * WriteNCIJuvenileGrowthXMLErrorFile2 ()
 Writes an error condition where a min neighbor diam10 is less than 0. More...
 
void WriteNCIJuvenileGrowthCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files (tree pop, plot, etc). More...
 
void WriteNCIJuvenileGrowthRunCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files for Run 1. More...
 
void WriteNCIJuvenileGrowthErrorFileCommonStuff (std::fstream &oOut)
 Writes common portions of the test error parameter files (tree pop, plot, etc). More...
 

Function Documentation

◆ WriteNCIJuvenileGrowthCommonStuff()

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

Parameters
oOutFile stream to write to.

◆ WriteNCIJuvenileGrowthErrorFileCommonStuff()

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

◆ WriteNCIJuvenileGrowthRunCommonStuff()

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

Parameters
oOutFile stream to write to.

◆ WriteNCIJuvenileGrowthXMLErrorFile1()

const char* WriteNCIJuvenileGrowthXMLErrorFile1 ( )

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

Returns
Filename written.

◆ WriteNCIJuvenileGrowthXMLErrorFile2()

const char* WriteNCIJuvenileGrowthXMLErrorFile2 ( )

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

Returns
Filename written.

◆ WriteNCIJuvenileGrowthXMLFile1()

const char* WriteNCIJuvenileGrowthXMLFile1 ( )

Writes a 1-year timestep file.

This contains 3 species. NCI growth (auto-height) is assigned to adults of Species 1.

Returns
Filename written.

◆ WriteNCIJuvenileGrowthXMLFile2()

const char* WriteNCIJuvenileGrowthXMLFile2 ( )

Writes a 3-year timestep file.

This contains 3 species. NCI growth (auto-height) is assigned to adults of Species 1.

Returns
Filename written.

◆ WriteNCIJuvenileGrowthXMLFile3()

const char* WriteNCIJuvenileGrowthXMLFile3 ( )

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.

Returns
Filename written.

◆ WriteNCIJuvenileGrowthXMLFile4()

const char* WriteNCIJuvenileGrowthXMLFile4 ( )

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.

Returns
Filename written.