SORTIE C++ Test Documentation
Functions
TestStorm.h File Reference
#include <fstream>

Functions

const char * WriteStormXMLFile1 ()
 Writes a parameter file with the specifications given for TestNormalDeterministic(). More...
 
const char * WriteStormXMLFile2 ()
 Writes a parameter file with the specifications given for TestNormalMappedDeterministic(). More...
 
const char * WriteStormXMLFile3 ()
 Writes a parameter file with the specifications given for TestNormalStochastic(). More...
 
const char * WriteStormXMLFile4 ()
 Writes a parameter file with the specifications given for TestNormalMappedStochastic(). More...
 
const char * WriteStormXMLFile5 ()
 Writes a parameter file with the specifications given for TestMultiYearTimesteps(). More...
 
const char * WriteStormXMLErrorFile1 ()
 Writes a parameter file where there are grid maps for both "Storm Damage" and "Storm Susceptibility" and the grid cell resolutions don't match. More...
 
const char * WriteStormXMLErrorFile2 ()
 Writes a parameter file where the damage pattern is set to "mapped" but there is no "Storm Susceptibility" grid map in the parameter file. More...
 
const char * WriteStormXMLErrorFile3 ()
 Writes a parameter file where not all storm interval return values are greater than 0. More...
 
const char * WriteStormXMLErrorFile4 ()
 Writes a parameter file where the value for susceptibility pattern in the parameter file is not recognized. More...
 
const char * WriteStormXMLErrorFile5 ()
 Writes a parameter file where the damage pattern is "stochastic" and there is no value for probability distribution function. More...
 
const char * WriteStormXMLErrorFile6 ()
 Writes a parameter file where the damage pattern is "stochastic" and the value for probability distribution function is not recognized. More...
 
const char * WriteStormXMLErrorFile7 ()
 Writes a parameter file where the damage pattern is "stochastic", the probability distribution function is "normal" or "lognormal", and there is no value for standard deviation. More...
 
const char * WriteStormXMLErrorFile8 ()
 Writes a parameter file where the value for stochasticity is not recognized. More...
 
const char * WriteStormXMLErrorFile9 ()
 Writes a parameter file where a scheduled storm's minimum is greater than its maximum. More...
 
const char * WriteStormXMLErrorFile10 ()
 Writes a parameter file where a scheduled storm's minimum is not between 0 and 1. More...
 
const char * WriteStormXMLErrorFile11 ()
 Writes a parameter file where a scheduled storm's maximum is not between 0 and 1. More...
 
void WriteStormCommonStuff (std::fstream &oOut)
 Writes the portion of the parameter file common to all test files. More...
 

Function Documentation

◆ WriteStormCommonStuff()

void WriteStormCommonStuff ( std::fstream &  oOut)

Writes the portion of the parameter file common to all test files.

Parameters
oOutFile stream to write to.

◆ WriteStormXMLErrorFile1()

const char* WriteStormXMLErrorFile1 ( )

Writes a parameter file where there are grid maps for both "Storm Damage" and "Storm Susceptibility" and the grid cell resolutions don't match.

Returns
Filename written.

◆ WriteStormXMLErrorFile10()

const char* WriteStormXMLErrorFile10 ( )

Writes a parameter file where a scheduled storm's minimum is not between 0 and 1.

Returns
Filename written.

◆ WriteStormXMLErrorFile11()

const char* WriteStormXMLErrorFile11 ( )

Writes a parameter file where a scheduled storm's maximum is not between 0 and 1.

Returns
Filename written.

◆ WriteStormXMLErrorFile2()

const char* WriteStormXMLErrorFile2 ( )

Writes a parameter file where the damage pattern is set to "mapped" but there is no "Storm Susceptibility" grid map in the parameter file.

Returns
Filename written.

◆ WriteStormXMLErrorFile3()

const char* WriteStormXMLErrorFile3 ( )

Writes a parameter file where not all storm interval return values are greater than 0.

Returns
Filename written.

◆ WriteStormXMLErrorFile4()

const char* WriteStormXMLErrorFile4 ( )

Writes a parameter file where the value for susceptibility pattern in the parameter file is not recognized.

Returns
Filename written.

◆ WriteStormXMLErrorFile5()

const char* WriteStormXMLErrorFile5 ( )

Writes a parameter file where the damage pattern is "stochastic" and there is no value for probability distribution function.

Returns
Filename written.

◆ WriteStormXMLErrorFile6()

const char* WriteStormXMLErrorFile6 ( )

Writes a parameter file where the damage pattern is "stochastic" and the value for probability distribution function is not recognized.

Returns
Filename written.

◆ WriteStormXMLErrorFile7()

const char* WriteStormXMLErrorFile7 ( )

Writes a parameter file where the damage pattern is "stochastic", the probability distribution function is "normal" or "lognormal", and there is no value for standard deviation.

Returns
Filename written.

◆ WriteStormXMLErrorFile8()

const char* WriteStormXMLErrorFile8 ( )

Writes a parameter file where the value for stochasticity is not recognized.

Returns
Filename written.

◆ WriteStormXMLErrorFile9()

const char* WriteStormXMLErrorFile9 ( )

Writes a parameter file where a scheduled storm's minimum is greater than its maximum.

Returns
Filename written.

◆ WriteStormXMLFile1()

const char* WriteStormXMLFile1 ( )

Writes a parameter file with the specifications given for TestNormalDeterministic().

Returns
Filename written.

◆ WriteStormXMLFile2()

const char* WriteStormXMLFile2 ( )

Writes a parameter file with the specifications given for TestNormalMappedDeterministic().

Returns
Filename written.

◆ WriteStormXMLFile3()

const char* WriteStormXMLFile3 ( )

Writes a parameter file with the specifications given for TestNormalStochastic().

Returns
Filename written.

◆ WriteStormXMLFile4()

const char* WriteStormXMLFile4 ( )

Writes a parameter file with the specifications given for TestNormalMappedStochastic().

Returns
Filename written.

◆ WriteStormXMLFile5()

const char* WriteStormXMLFile5 ( )

Writes a parameter file with the specifications given for TestMultiYearTimesteps().

Returns
Filename written.