O P A R - Open Architecture Particle in Cell Simulation - Version 3.0
Plasma simulations with dust particles
|
Single value paramter of some type. This reads in a single value of some type TYPE from the input file and stores it under a given address. If the parameter is not encountered in the input, a default value is set. More...
#include <parameter.h>
Public Member Functions | |
ParameterValue (TYPE *_pValue, TYPE _Default) | |
Constructor takes a pointer to the variable and a default value. | |
virtual | ~ParameterValue () |
Destructor. | |
void | SetDefault (TYPE _Default) |
Sets the default value. | |
virtual std::string | Rebuild (std::istream &in) |
Reads the value from the stream and returns the next token. | |
Public Member Functions inherited from Parameter | |
Parameter () | |
Default constructor. | |
virtual | ~Parameter () |
Destructor. |
Single value paramter of some type. This reads in a single value of some type TYPE from the input file and stores it under a given address. If the parameter is not encountered in the input, a default value is set.