clTestPostHarvestSkiddingMort Class Reference

Tests the PostHarvestSkiddingMort class descended from clMortalityBase. More...

#include <TestPostHarvestSkiddingMort.h>

List of all members.

Public Member Functions

void TestPostHarvestSkiddingMort ()
 Tests the post-harvest skidding mortality class.

Protected Member Functions

char * WriteXMLFile1 (int iRun)
 Writes a parameter file with the specifications given for TestPostHarvestSkiddingMort(), runs 1 and 2.


Detailed Description

Tests the PostHarvestSkiddingMort class descended from clMortalityBase.

Author:
Mark Vanderwel

Member Function Documentation

void clTestPostHarvestSkiddingMort::TestPostHarvestSkiddingMort (  ) 

Tests the post-harvest skidding mortality class.

  • 2000 trees are created in each of 5 different grid cells.
  • Cells 1-3 were cut this timestep, cell 4 was not cut, and cell 5 was cut 6 years earlier.
  • Cell 2 has higher harvest intensity than cell 1.
  • Cell 3 has larger trees than cell 1.
  • Simulation is run for 1 2-y timestep.
  • A second run is performed where the HarvInten code is not registered. It is otherwise the same as run 1, cell 1. The behavior should treat HarvInten as having a value of 0.
  • The number of trees of each species remaining in each cell is compared to expected values (+/- 5%).

char* clTestPostHarvestSkiddingMort::WriteXMLFile1 ( int  iRun  )  [protected]

Writes a parameter file with the specifications given for TestPostHarvestSkiddingMort(), runs 1 and 2.

If parameter value of 1 is passed, then the Harvest Interface behavior is included in the parameter file.

Returns:
Filename written.


The documentation for this class was generated from the following file:

Generated on Tue Apr 19 14:06:02 2011 for SORTIE C++ Test Documentation by  doxygen 1.5.6