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

Functions

const char * WriteShadedLinearGrowthXMLFile1 ()
 Tests the clShadedLinearGrowth class. More...
 
const char * WriteShadedLinearGrowthXMLFile2 ()
 Writes a parameter file to direct testing. More...
 

Function Documentation

◆ WriteShadedLinearGrowthXMLFile1()

const char* WriteShadedLinearGrowthXMLFile1 ( )

Tests the clShadedLinearGrowth 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:

  • shaded linear growth diam only - applied to species 0 seedlings and species 1 seedlings
  • shaded 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
  • shaded linear growth - applied to species 1 saplings
Returns
Filename written.

◆ WriteShadedLinearGrowthXMLFile2()

const char* WriteShadedLinearGrowthXMLFile2 ( )

Writes a parameter file to direct testing.

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

  • shaded linear growth diam only - applied to species 0 seedlings and species 1 seedlings
  • shaded 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
  • shaded linear growth - applied to species 1 saplings
Returns
Filename written.