clTestDensitySeedSurvival Class Reference

This class tests the density-dependent seed survival behavior. More...

#include <TestDensitySeedSurvival.h>

List of all members.

Public Member Functions

void TestDensitySeedSurvival ()
 Compiles all tests into one function.

Private Member Functions

void TestDensityRun1 (clSimManager *p_oSimManager)
 Tests normal processing of density-dependent seed survival.
void TestDensityRun2 (clSimManager *p_oSimManager)
 Tests normal processing of density-dependent seed survival with different grid cell sizes.
void TestDensityRun3 (clSimManager *p_oSimManager)
 Tests normal processing of density-dependent seed survival with different grid cell sizes.
void TestDensityRun4 (clSimManager *p_oSimManager)
 Tests normal processing of seed survival dependent on density of conspecific neighbor trees.
char * WriteXMLFile1 ()
 Writes a parameter file to direct testing.
char * WriteXMLFile2 ()
 Writes a parameter file to direct testing.
char * WriteXMLFile3 ()
 Writes a parameter file to direct testing.
char * WriteXMLFile4 ()
 Writes a parameter file to direct testing for normal processing Run 4.
void WriteCommonStuff (std::fstream &oOut)
 Writes allometry parameters common to all parameter files.


Detailed Description

This class tests the density-dependent seed survival behavior.

It writes out parameter files and uses them as input to perform setup; it then sets up the desired initial conditions, causes the behavior to run, then tests its output. There is one normal processing run.


Member Function Documentation

void clTestDensitySeedSurvival::TestDensitySeedSurvival (  ) 

Compiles all tests into one function.

void clTestDensitySeedSurvival::TestDensityRun1 ( clSimManager *  p_oSimManager  )  [private]

Tests normal processing of density-dependent seed survival.

WriteXMLFile1() does setup. After a run occurs, the number of seeds in the seed grid is verified.

void clTestDensitySeedSurvival::TestDensityRun2 ( clSimManager *  p_oSimManager  )  [private]

Tests normal processing of density-dependent seed survival with different grid cell sizes.

WriteXMLFile2() does setup. After a run occurs, the number of seeds in the seed grid is verified.

void clTestDensitySeedSurvival::TestDensityRun3 ( clSimManager *  p_oSimManager  )  [private]

Tests normal processing of density-dependent seed survival with different grid cell sizes.

WriteXMLFile3() does setup. After a run occurs, the number of seeds in the seed grid is verified.

void clTestDensitySeedSurvival::TestDensityRun4 ( clSimManager *  p_oSimManager  )  [private]

Tests normal processing of seed survival dependent on density of conspecific neighbor trees.

WriteXMLFile4() does setup. After a run occurs, the number of seeds in the seed grid is verified.

char* clTestDensitySeedSurvival::WriteXMLFile1 (  )  [private]

Writes a parameter file to direct testing.

The behaviors are non-spatial disperse (designed to add no seeds) and density-dependent seed survival. There are 4 species but only the last three are used.

Returns:
Filename written.

char* clTestDensitySeedSurvival::WriteXMLFile2 (  )  [private]

Writes a parameter file to direct testing.

The behaviors are non-spatial disperse (designed to add no seeds) and density-dependent seed survival. There are 4 species but only the last three are used.

Returns:
Filename written.

char* clTestDensitySeedSurvival::WriteXMLFile3 (  )  [private]

Writes a parameter file to direct testing.

The behaviors are non-spatial disperse (designed to add no seeds) and density-dependent seed survival. There are 4 species but only the last three are used.

Returns:
Filename written.

char* clTestDensitySeedSurvival::WriteXMLFile4 (  )  [private]

Writes a parameter file to direct testing for normal processing Run 4.

Returns:
Filename written.

void clTestDensitySeedSurvival::WriteCommonStuff ( std::fstream &  oOut  )  [private]

Writes allometry parameters common to all parameter files.

Parameters:
oOut 


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

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