OOPS
|
#include <VariableChangeBase.h>
Public Member Functions | |
VariableChangeBase (const VariableChangeParametersBase &) | |
VariableChangeBase (const eckit::Configuration &) | |
virtual | ~VariableChangeBase () |
void | setInputVariables (const Variables &vars) |
void | setOutputVariables (const Variables &vars) |
virtual void | changeVar (const State_ &, State_ &) const =0 |
virtual void | changeVarInverse (const State_ &, State_ &) const =0 |
State_ | changeVar (const State_ &) const |
State_ | changeVarInverse (const State_ &) const |
Private Types | |
typedef State< MODEL > | State_ |
Private Member Functions | |
virtual void | print (std::ostream &) const =0 |
Private Attributes | |
std::unique_ptr< Variables > | varin_ |
std::unique_ptr< Variables > | varout_ |
Base class for generic variable transform
Note: subclasses can opt to extract their settings either from a Configuration object or from a subclass of Parameters.
In the former case, they should provide a constructor taking a const reference to an eckit::Configuration object. In the latter case, the implementer should first define a subclass of Parameters holding the settings of the variable change in question. The latter should then typedef Parameters_
to the name of that subclass and provide a constructor taking a const reference to an instance of that subclass.
Definition at line 48 of file VariableChangeBase.h.
|
private |
Definition at line 50 of file VariableChangeBase.h.
|
explicit |
Definition at line 242 of file VariableChangeBase.h.
|
explicit |
Definition at line 260 of file VariableChangeBase.h.
|
inlinevirtual |
Definition at line 55 of file VariableChangeBase.h.
State< MODEL > oops::VariableChangeBase< MODEL >::changeVar | ( | const State_ & | xin | ) | const |
|
pure virtual |
Implemented in oops::IdVariableChange< MODEL >, and oops::VariableChange< MODEL, CHVAR >.
State< MODEL > oops::VariableChangeBase< MODEL >::changeVarInverse | ( | const State_ & | xin | ) | const |
|
pure virtual |
Implemented in oops::IdVariableChange< MODEL >, and oops::VariableChange< MODEL, CHVAR >.
|
privatepure virtual |
Implemented in oops::IdVariableChange< MODEL >, and oops::VariableChange< MODEL, CHVAR >.
|
inline |
Definition at line 57 of file VariableChangeBase.h.
|
inline |
Definition at line 58 of file VariableChangeBase.h.
|
private |
Definition at line 68 of file VariableChangeBase.h.
|
private |
Definition at line 69 of file VariableChangeBase.h.