OOPS
qg::StateQG Class Reference

QG model state. More...

#include <StateQG.h>

Inheritance diagram for qg::StateQG:
Collaboration diagram for qg::StateQG:

Public Member Functions

 StateQG (const GeometryQG &, const oops::Variables &, const util::DateTime &)
 Constructor, destructor. More...
 
 StateQG (const GeometryQG &, const eckit::Configuration &)
 
 StateQG (const GeometryQG &, const StateQG &)
 
 StateQG (const StateQG &)
 
virtual ~StateQG ()
 
StateQGoperator= (const StateQG &)
 Basic operators. More...
 
void changeResolution (const StateQG &xx)
 Interpolate full fields. More...
 
StateQGoperator+= (const IncrementQG &)
 Interactions with Increment. More...
 
void read (const eckit::Configuration &)
 I/O and diagnostics. More...
 
void write (const eckit::Configuration &) const
 
double norm () const
 
const util::DateTime & validTime () const
 
util::DateTime & validTime ()
 
void updateTime (const util::Duration &dt)
 
FieldsQGfields ()
 Access to fields. More...
 
const FieldsQGfields () const
 
std::shared_ptr< const GeometryQGgeometry () const
 
const oops::Variablesvariables () const
 
size_t serialSize () const
 Serialization. More...
 
void serialize (std::vector< double > &) const
 
void deserialize (const std::vector< double > &, size_t &)
 
void zero ()
 Other. More...
 
void accumul (const double &, const StateQG &)
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

void print (std::ostream &) const
 

Private Attributes

const bool lbc_ = true
 
std::unique_ptr< FieldsQGfields_
 

Detailed Description

QG model state.

Definition at line 41 of file StateQG.h.

Constructor & Destructor Documentation

◆ StateQG() [1/4]

qg::StateQG::StateQG ( const GeometryQG resol,
const oops::Variables vars,
const util::DateTime &  vt 
)

Constructor, destructor.

Definition at line 40 of file StateQG.cc.

◆ StateQG() [2/4]

qg::StateQG::StateQG ( const GeometryQG resol,
const eckit::Configuration &  file 
)

Definition at line 47 of file StateQG.cc.

◆ StateQG() [3/4]

qg::StateQG::StateQG ( const GeometryQG resol,
const StateQG other 
)

Definition at line 71 of file StateQG.cc.

◆ StateQG() [4/4]

qg::StateQG::StateQG ( const StateQG other)

Definition at line 78 of file StateQG.cc.

◆ ~StateQG()

qg::StateQG::~StateQG ( )
virtual

Definition at line 85 of file StateQG.cc.

Member Function Documentation

◆ accumul()

void qg::StateQG::accumul ( const double &  zz,
const StateQG xx 
)

Definition at line 149 of file StateQG.cc.

◆ changeResolution()

void qg::StateQG::changeResolution ( const StateQG xx)

Interpolate full fields.

Definition at line 99 of file StateQG.cc.

Here is the caller graph for this function:

◆ classname()

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

Definition at line 44 of file StateQG.h.

◆ deserialize()

void qg::StateQG::deserialize ( const std::vector< double > &  vect,
size_t &  index 
)

Definition at line 134 of file StateQG.cc.

◆ fields() [1/2]

FieldsQG& qg::StateQG::fields ( )
inline

Access to fields.

Definition at line 69 of file StateQG.h.

Here is the caller graph for this function:

◆ fields() [2/2]

const FieldsQG& qg::StateQG::fields ( ) const
inline

Definition at line 70 of file StateQG.h.

◆ geometry()

std::shared_ptr<const GeometryQG> qg::StateQG::geometry ( ) const
inline

Definition at line 71 of file StateQG.h.

◆ norm()

double qg::StateQG::norm ( ) const
inline

Definition at line 63 of file StateQG.h.

◆ operator+=()

StateQG & qg::StateQG::operator+= ( const IncrementQG dx)

Interactions with Increment.

Interactions with Increments.

Definition at line 106 of file StateQG.cc.

Here is the call graph for this function:

◆ operator=()

StateQG & qg::StateQG::operator= ( const StateQG rhs)

Basic operators.

Definition at line 91 of file StateQG.cc.

◆ print()

void qg::StateQG::print ( std::ostream &  os) const
private

Definition at line 138 of file StateQG.cc.

Here is the call graph for this function:

◆ read()

void qg::StateQG::read ( const eckit::Configuration &  files)

I/O and diagnostics.

Definition at line 115 of file StateQG.cc.

◆ serialize()

void qg::StateQG::serialize ( std::vector< double > &  vect) const

Definition at line 130 of file StateQG.cc.

◆ serialSize()

size_t qg::StateQG::serialSize ( ) const

Serialization.

Definition at line 125 of file StateQG.cc.

◆ updateTime()

void qg::StateQG::updateTime ( const util::Duration &  dt)
inline

Definition at line 66 of file StateQG.h.

◆ validTime() [1/2]

util::DateTime& qg::StateQG::validTime ( )
inline

Definition at line 65 of file StateQG.h.

◆ validTime() [2/2]

const util::DateTime& qg::StateQG::validTime ( ) const
inline

Definition at line 64 of file StateQG.h.

Here is the caller graph for this function:

◆ variables()

const oops::Variables& qg::StateQG::variables ( ) const
inline

Definition at line 74 of file StateQG.h.

◆ write()

void qg::StateQG::write ( const eckit::Configuration &  files) const

Definition at line 119 of file StateQG.cc.

◆ zero()

void qg::StateQG::zero ( )

Other.

For accumulator.

Definition at line 145 of file StateQG.cc.

Member Data Documentation

◆ fields_

std::unique_ptr<FieldsQG> qg::StateQG::fields_
private

Definition at line 88 of file StateQG.h.

◆ lbc_

const bool qg::StateQG::lbc_ = true
private

Definition at line 87 of file StateQG.h.


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