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

Functions

const char * WriteCarbonValueCalculatorXMLFile1 ()
 Writes the parameter file for normal processing. More...
 
const char * WriteCarbonValueCalculatorXMLErrorFile1 ()
 Writes an error file where the Dimension Analysis behavior is not enabled for all trees for carbon value. More...
 
const char * WriteCarbonValueCalculatorXMLErrorFile2 ()
 Writes an error file where the percentage of biomass that is carbon is negative. More...
 
const char * WriteCarbonValueCalculatorXMLErrorFile3 ()
 Writes an error file where the percentage of biomass that is carbon is more than 100. More...
 
void WriteCarbonValueCalculatorCommonErrorStuff (std::fstream &oOut)
 Writes common portions of the test parameter files (tree pop, plot, etc). More...
 

Function Documentation

◆ WriteCarbonValueCalculatorCommonErrorStuff()

void WriteCarbonValueCalculatorCommonErrorStuff ( std::fstream &  oOut)

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

This ends with </behaviorList&gt. There are only two species for this file.

Parameters
oOutFile stream to write to.

◆ WriteCarbonValueCalculatorXMLErrorFile1()

const char* WriteCarbonValueCalculatorXMLErrorFile1 ( )

Writes an error file where the Dimension Analysis behavior is not enabled for all trees for carbon value.

Returns
Filename written.

◆ WriteCarbonValueCalculatorXMLErrorFile2()

const char* WriteCarbonValueCalculatorXMLErrorFile2 ( )

Writes an error file where the percentage of biomass that is carbon is negative.

Returns
Filename written.

◆ WriteCarbonValueCalculatorXMLErrorFile3()

const char* WriteCarbonValueCalculatorXMLErrorFile3 ( )

Writes an error file where the percentage of biomass that is carbon is more than 100.

Returns
Filename written.

◆ WriteCarbonValueCalculatorXMLFile1()

const char* WriteCarbonValueCalculatorXMLFile1 ( )

Writes the parameter file for normal processing.

There are 19 species (Species 13 is not used). The biomass calculator is the only behavior and is applied to saplings and adults of all used species. All 18 used species use dimension analysis equation 1. The first 9 use a correction factor; the second 9 don't.

Returns
Filename written.