FV3 Bundle
qg::TlmQG Class Reference

QG linear model definition. More...

#include <TlmQG.h>

Inheritance diagram for qg::TlmQG:
[legend]
Collaboration diagram for qg::TlmQG:
[legend]

Public Member Functions

 TlmQG (const GeometryQG &, const eckit::Configuration &)
 
 ~TlmQG ()
 
void setTrajectory (const StateQG &, StateQG &, const ModelBias &) override
 Model trajectory computation. More...
 
void initializeTL (IncrementQG &) const override
 Run TLM and its adjoint. More...
 
void stepTL (IncrementQG &, const ModelBiasIncrement &) const override
 
void finalizeTL (IncrementQG &) const override
 
void initializeAD (IncrementQG &) const override
 
void stepAD (IncrementQG &, ModelBiasIncrement &) const override
 
void finalizeAD (IncrementQG &) const override
 
const util::Duration & timeResolution () const override
 Other utilities. More...
 
const GeometryQGresolution () const
 
const oops::Variablesvariables () const override
 
- Public Member Functions inherited from oops::LinearModelBase< QgTraits >
 LinearModelBase ()
 
virtual ~LinearModelBase ()
 
void setTrajectory (const State_ &, State_ &, const ModelAux_ &)
 
void initializeTL (Increment_ &) const
 
void stepTL (Increment_ &, const ModelAuxIncr_ &) const
 
void finalizeTL (Increment_ &) const
 
void initializeAD (Increment_ &) const
 
void stepAD (Increment_ &, ModelAuxIncr_ &) const
 
void finalizeAD (Increment_ &) const
 

Static Public Member Functions

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

Private Types

typedef std::map< util::DateTime, int >::iterator trajIter
 
typedef std::map< util::DateTime, int >::const_iterator trajICst
 

Private Member Functions

void print (std::ostream &) const override
 

Private Attributes

F90model keyConfig_
 
util::Duration tstep_
 
const GeometryQG resol_
 
std::map< util::DateTime, F90trajtraj_
 
const ModelQG lrmodel_
 
const oops::Variables linvars_
 

Additional Inherited Members

- Protected Member Functions inherited from oops::LinearModelBase< QgTraits >
virtual void setTrajectory (const typename QgTraits ::State &, typename QgTraits ::State &, const typename QgTraits ::ModelAuxControl &)=0
 
virtual void initializeTL (typename QgTraits ::Increment &) const=0
 
virtual void stepTL (typename QgTraits ::Increment &, const typename QgTraits ::ModelAuxIncrement &) const=0
 
virtual void finalizeTL (typename QgTraits ::Increment &) const=0
 
virtual void initializeAD (typename QgTraits ::Increment &) const=0
 
virtual void stepAD (typename QgTraits ::Increment &, typename QgTraits ::ModelAuxIncrement &) const=0
 
virtual void finalizeAD (typename QgTraits ::Increment &) const=0
 

Detailed Description

QG linear model definition.

QG linear model definition and configuration parameters.

Definition at line 43 of file TlmQG.h.

Member Typedef Documentation

◆ trajICst

typedef std::map< util::DateTime, int >::const_iterator qg::TlmQG::trajICst
private

Definition at line 71 of file TlmQG.h.

◆ trajIter

typedef std::map< util::DateTime, int >::iterator qg::TlmQG::trajIter
private

Definition at line 70 of file TlmQG.h.

Constructor & Destructor Documentation

◆ TlmQG()

qg::TlmQG::TlmQG ( const GeometryQG resol,
const eckit::Configuration &  tlConf 
)

Definition at line 31 of file TlmQG.cc.

◆ ~TlmQG()

qg::TlmQG::~TlmQG ( )

Definition at line 44 of file TlmQG.cc.

Here is the call graph for this function:

Member Function Documentation

◆ classname()

static const std::string qg::TlmQG::classname ( )
inlinestatic

Definition at line 46 of file TlmQG.h.

◆ finalizeAD()

void qg::TlmQG::finalizeAD ( IncrementQG dx) const
override

Definition at line 110 of file TlmQG.cc.

Here is the call graph for this function:

◆ finalizeTL()

void qg::TlmQG::finalizeTL ( IncrementQG dx) const
override

Definition at line 88 of file TlmQG.cc.

Here is the call graph for this function:

◆ initializeAD()

void qg::TlmQG::initializeAD ( IncrementQG dx) const
override

Definition at line 92 of file TlmQG.cc.

Here is the call graph for this function:

◆ initializeTL()

void qg::TlmQG::initializeTL ( IncrementQG dx) const
override

Run TLM and its adjoint.

Definition at line 69 of file TlmQG.cc.

Here is the call graph for this function:

◆ print()

void qg::TlmQG::print ( std::ostream &  os) const
overrideprivatevirtual

Implements oops::LinearModelBase< QgTraits >.

Definition at line 115 of file TlmQG.cc.

◆ resolution()

const GeometryQG& qg::TlmQG::resolution ( ) const
inline

Definition at line 65 of file TlmQG.h.

◆ setTrajectory()

void qg::TlmQG::setTrajectory ( const StateQG xx,
StateQG xlr,
const ModelBias bias 
)
override

Model trajectory computation.

Definition at line 52 of file TlmQG.cc.

Here is the call graph for this function:

◆ stepAD()

void qg::TlmQG::stepAD ( IncrementQG dx,
ModelBiasIncrement  
) const
override

Definition at line 97 of file TlmQG.cc.

Here is the call graph for this function:

◆ stepTL()

void qg::TlmQG::stepTL ( IncrementQG dx,
const ModelBiasIncrement  
) const
override

Definition at line 75 of file TlmQG.cc.

Here is the call graph for this function:

◆ timeResolution()

const util::Duration& qg::TlmQG::timeResolution ( ) const
inlineoverridevirtual

Other utilities.

Implements oops::LinearModelBase< QgTraits >.

Definition at line 64 of file TlmQG.h.

◆ variables()

const oops::Variables& qg::TlmQG::variables ( ) const
inlineoverridevirtual

Implements oops::LinearModelBase< QgTraits >.

Definition at line 66 of file TlmQG.h.

Member Data Documentation

◆ keyConfig_

F90model qg::TlmQG::keyConfig_
private

Definition at line 74 of file TlmQG.h.

◆ linvars_

const oops::Variables qg::TlmQG::linvars_
private

Definition at line 79 of file TlmQG.h.

◆ lrmodel_

const ModelQG qg::TlmQG::lrmodel_
private

Definition at line 78 of file TlmQG.h.

◆ resol_

const GeometryQG qg::TlmQG::resol_
private

Definition at line 76 of file TlmQG.h.

◆ traj_

std::map< util::DateTime, F90traj> qg::TlmQG::traj_
private

Definition at line 77 of file TlmQG.h.

◆ tstep_

util::Duration qg::TlmQG::tstep_
private

Definition at line 75 of file TlmQG.h.


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