O P A R - Open Architecture Particle in Cell Simulation - Version 3.0
Plasma simulations with dust particles
 All Classes Files Functions Variables Friends Macros Groups Pages
Classes | Typedefs
parameter.h File Reference
#include <map>
#include <string>
#include "task.h"

Go to the source code of this file.

Classes

class  Parameter
 An abstract base class for parameters. There is only one abstract method: Rebuild. This method has to rebuild the data from the input file and return the next token of th input file in a string. More...
class  ParameterValue< TYPE >
 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...
class  ParameterTask_BASE< TYPE >
 Base class for reading a subclass of the Task class from the input. A Task class is read from the input file by invoking the creating the object and calling its Task::Rebuild method. The parameters of the newly built Task have to be enclosed in curly brackets. The new Task is then attached to its 'parent'. The abstract method New should actually create the object. ParameterTask and DiagnosticTask overwrite this method. More...
class  ParameterTask< TYPE >
 An implementation of ParameterTask_BASE for reading in most Tasks. The New method is overwritten to create the Task object. For normal Tasks the default constructor ca be called. More...
class  DiagnosticTask< TYPE, OBJECT >
 An implementation of ParameterTask_BASE for reading in Diagnostics. A Diagnostic Task is special, because it also needs a pointer to the data it is supposed to diagnose. The data is of type OBJECT. More...

Typedefs

typedef PtrWrapper< ParameterWParameter
typedef std::map< std::string,
WParameter
PARAMETERMAP

Detailed Description

The classes in this file are used for reading parameters from an input file. The parameters are stored in a parameter map.