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

Functions

const char * WriteAbsoluteGrowthXMLFile1 (int iYrsPerTimestep)
 Tests the clAbsoluteGrowth class. More...
 
void AbsoluteGrowthTest1YearPerTimestep ()
 
void AbsoluteGrowthTest3YearsPerTimestep ()
 

Function Documentation

◆ AbsoluteGrowthTest1YearPerTimestep()

void AbsoluteGrowthTest1YearPerTimestep ( )

◆ AbsoluteGrowthTest3YearsPerTimestep()

void AbsoluteGrowthTest3YearsPerTimestep ( )

◆ WriteAbsoluteGrowthXMLFile1()

const char* WriteAbsoluteGrowthXMLFile1 ( int  iYrsPerTimestep)

Tests the clAbsoluteGrowth class.

This tests all six types of absolute growth - unlimited absolute growth, absolute growth limited to constant radial increment, absolute growth limited to constant basal area increment, unlimited absolute growth - diameter update only, absolute growth limited to constant radial increment - diameter update only, and absolute growth limited to constant basal area increment - diameter update only.

I have not yet put in testing of suppression/release. Writes a parameter file to direct testing. This contains three species. Behaviors:

  • Unlimited absolute growth is applied to Species 1 saplings.
  • Absolute growth limited to constant radial increment is applied to Species 1 adults.
  • Absolute growth limited to basal area increment is applied to Species 2 adults.
  • Unlimited absolute growth - diameter only is applied to Species 2 saplings.
  • Absolute growth limited to constant radial increment - diameter only is applied to Species 3 saplings.
  • Absolute growth limited to basal area increment - diameter only is applied to Species 3 adults. Height incrementer applied to all with diameter only behaviors.
Parameters
iYrsPerTimestepNumber of years per timestep.
Returns
Filename written.