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

Functions

const char * WriteSimpleLinearGrowthXMLFile1 ()
 Tests the clSimpleLinearGrowth class. More...
 
const char * WriteSimpleLinearGrowthXMLFile2 ()
 Writes a parameter file to direct testing. More...
 

Function Documentation

◆ WriteSimpleLinearGrowthXMLFile1()

const char* WriteSimpleLinearGrowthXMLFile1 ( )

Tests the clSimpleLinearGrowth class.

This tests it in all versions - as a diameter-only incrementer with no height updating, as a DiameterIncrementer with auto-height updating, and as a HeightIncrementer. Writes a parameter file to direct testing. Timestep length is 1 year. This contains two species. Behaviors:

  • simple linear growth diam only - applied to species 0 seedlings and species 1 seedlings
  • simple linear growth height only - applied to species 0 saplings and species 1 seedlings
  • constant radial growth - applied to species 0 saplings
  • HeightIncrementer - applied to species 0 seedlings
  • simple linear growth - applied to species 1 saplings
Returns
Filename written.

◆ WriteSimpleLinearGrowthXMLFile2()

const char* WriteSimpleLinearGrowthXMLFile2 ( )

Writes a parameter file to direct testing.

Timestep length is 3 years. This contains two species. Behaviors:

  • simple linear growth diam only - applied to species 0 seedlings and species 1 seedlings
  • simple linear growth height only - applied to species 0 saplings and species 1 seedlings
  • constant radial growth - applied to species 0 saplings
  • HeightIncrementer - applied to species 0 seedlings
  • simple linear growth - applied to species 1 saplings
Returns
Filename written.