Constant value generator. Generate a constant value for this parameter, as provided in argument (please remember that it must be in SI units).
#include <ConstGenerator.h>
Public Member Functions | |
| ConstGenerator (const std::vector< std::string > &vecArgs, const std::string &i_algo) | |
| bool | generate (const size_t ¶m, MeteoData &md) |
| bool | create (const size_t ¶m, std::vector< MeteoData > &vecMeteo) |
Public Member Functions inherited from mio::GeneratorAlgorithm | |
| GeneratorAlgorithm (const std::vector< std::string > &, const std::string &i_algo) | |
| virtual | ~GeneratorAlgorithm () |
| std::string | getAlgo () const |
Additional Inherited Members | |
Protected Attributes inherited from mio::GeneratorAlgorithm | |
| const std::string | algo |
Static Protected Attributes inherited from mio::GeneratorAlgorithm | |
| static const double | soil_albedo = .23 |
| static const double | snow_albedo = .85 |
| static const double | snow_thresh = .1 |
|
inline |
|
virtual |
Implements mio::GeneratorAlgorithm.
|
virtual |
Implements mio::GeneratorAlgorithm.