OOPS
oops::PseudoModel< MODEL > Class Template Reference

Generic implementation of the pseudo model (steps through time by reading states) More...

#include <PseudoModel.h>

Inheritance diagram for oops::PseudoModel< MODEL >:
Collaboration diagram for oops::PseudoModel< MODEL >:

Public Member Functions

 PseudoModel (const Geometry_ &, const eckit::Configuration &)
 
void initialize (State_ &) const override
 initialize forecast More...
 
void step (State_ &, const ModelAux_ &) const override
 one forecast step More...
 
void finalize (State_ &) const override
 finalize forecast More...
 
const util::Duration & timeResolution () const override
 model time step More...
 
const oops::Variablesvariables () const override
 model variables More...
 
- Public Member Functions inherited from oops::ModelBase< MODEL >
 ModelBase ()=default
 
virtual ~ModelBase ()=default
 

Static Public Member Functions

static const std::string classname ()
 
- Static Public Member Functions inherited from oops::ModelBase< MODEL >
static const std::string classname ()
 

Private Types

typedef Geometry< MODEL > Geometry_
 
typedef ModelAuxControl< MODEL > ModelAux_
 
typedef State< MODEL > State_
 

Private Member Functions

void print (std::ostream &) const override
 Print; used for logging. More...
 

Private Attributes

const util::Duration tstep_
 
const oops::Variables vars_
 
std::vector< eckit::LocalConfiguration > confs_
 
size_t currentstate_
 

Detailed Description

template<typename MODEL>
class oops::PseudoModel< MODEL >

Generic implementation of the pseudo model (steps through time by reading states)

Definition at line 29 of file PseudoModel.h.

Member Typedef Documentation

◆ Geometry_

template<typename MODEL >
typedef Geometry<MODEL> oops::PseudoModel< MODEL >::Geometry_
private

Definition at line 30 of file PseudoModel.h.

◆ ModelAux_

template<typename MODEL >
typedef ModelAuxControl<MODEL> oops::PseudoModel< MODEL >::ModelAux_
private

Definition at line 31 of file PseudoModel.h.

◆ State_

template<typename MODEL >
typedef State<MODEL> oops::PseudoModel< MODEL >::State_
private

Definition at line 32 of file PseudoModel.h.

Constructor & Destructor Documentation

◆ PseudoModel()

template<typename MODEL >
oops::PseudoModel< MODEL >::PseudoModel ( const Geometry_ resol,
const eckit::Configuration &  conf 
)

Definition at line 63 of file PseudoModel.h.

Member Function Documentation

◆ classname()

template<typename MODEL >
static const std::string oops::PseudoModel< MODEL >::classname ( )
inlinestatic

Definition at line 35 of file PseudoModel.h.

◆ finalize()

template<typename MODEL >
void oops::PseudoModel< MODEL >::finalize ( State_ xx) const
overridevirtual

finalize forecast

Implements oops::ModelBase< MODEL >.

Definition at line 91 of file PseudoModel.h.

◆ initialize()

template<typename MODEL >
void oops::PseudoModel< MODEL >::initialize ( State_ xx) const
overridevirtual

initialize forecast

Implements oops::ModelBase< MODEL >.

Definition at line 73 of file PseudoModel.h.

◆ print()

template<typename MODEL >
void oops::PseudoModel< MODEL >::print ( std::ostream &  ) const
overrideprivatevirtual

Print; used for logging.

Implements oops::ModelBase< MODEL >.

Definition at line 98 of file PseudoModel.h.

◆ step()

template<typename MODEL >
void oops::PseudoModel< MODEL >::step ( State_ xx,
const ModelAux_ merr 
) const
overridevirtual

one forecast step

Implements oops::ModelBase< MODEL >.

Definition at line 81 of file PseudoModel.h.

Here is the call graph for this function:

◆ timeResolution()

template<typename MODEL >
const util::Duration& oops::PseudoModel< MODEL >::timeResolution ( ) const
inlineoverridevirtual

model time step

Implements oops::ModelBase< MODEL >.

Definition at line 47 of file PseudoModel.h.

◆ variables()

template<typename MODEL >
const oops::Variables& oops::PseudoModel< MODEL >::variables ( ) const
inlineoverridevirtual

model variables

Implements oops::ModelBase< MODEL >.

Definition at line 50 of file PseudoModel.h.

Member Data Documentation

◆ confs_

template<typename MODEL >
std::vector<eckit::LocalConfiguration> oops::PseudoModel< MODEL >::confs_
private

Definition at line 56 of file PseudoModel.h.

◆ currentstate_

template<typename MODEL >
size_t oops::PseudoModel< MODEL >::currentstate_
mutableprivate

Definition at line 57 of file PseudoModel.h.

◆ tstep_

template<typename MODEL >
const util::Duration oops::PseudoModel< MODEL >::tstep_
private

Definition at line 54 of file PseudoModel.h.

◆ vars_

template<typename MODEL >
const oops::Variables oops::PseudoModel< MODEL >::vars_
private

Definition at line 55 of file PseudoModel.h.


The documentation for this class was generated from the following file: