FV3 Bundle
qg::StateQG Class Reference

QG model state. More...

#include <StateQG.h>

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

Public Member Functions

 StateQG (const GeometryQG &, const oops::Variables &, const util::DateTime &)
 Constructor, destructor. More...
 
 StateQG (const GeometryQG &, const oops::Variables &, const eckit::Configuration &)
 
 StateQG (const GeometryQG &, const StateQG &)
 
 StateQG (const StateQG &)
 
virtual ~StateQG ()
 
StateQGoperator= (const StateQG &)
 Basic operators. More...
 
void getValues (const LocationsQG &, const oops::Variables &, GomQG &) const
 Get state values at observation locations. More...
 
void getValues (const LocationsQG &, const oops::Variables &, GomQG &, Nothing &) const
 
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 ()
 
FieldsQGfields ()
 Access to fields. More...
 
const FieldsQGfields () const
 
boost::shared_ptr< const GeometryQGgeometry () const
 
void zero ()
 Other. More...
 
void accumul (const double &, const StateQG &)
 
oops::GridPoint getPoint (const GeometryQGIterator &) const
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

void print (std::ostream &) const
 

Private Attributes

boost::scoped_ptr< FieldsQGfields_
 
boost::scoped_ptr< FieldsQGstash_
 

Detailed Description

QG model state.

A State contains everything that is needed to propagate the state forward in time.

Definition at line 50 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 37 of file StateQG.cc.

◆ StateQG() [2/4]

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

Definition at line 44 of file StateQG.cc.

◆ StateQG() [3/4]

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

Definition at line 62 of file StateQG.cc.

◆ StateQG() [4/4]

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

Definition at line 69 of file StateQG.cc.

◆ ~StateQG()

qg::StateQG::~StateQG ( )
virtual

Definition at line 76 of file StateQG.cc.

Member Function Documentation

◆ accumul()

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

Definition at line 137 of file StateQG.cc.

◆ changeResolution()

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

Interpolate full fields.

Definition at line 102 of file StateQG.cc.

Here is the caller graph for this function:

◆ classname()

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

Definition at line 53 of file StateQG.h.

◆ fields() [1/2]

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

Access to fields.

Definition at line 81 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 82 of file StateQG.h.

◆ geometry()

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

Definition at line 84 of file StateQG.h.

◆ getPoint()

oops::GridPoint qg::StateQG::getPoint ( const GeometryQGIterator iter) const

Definition at line 141 of file StateQG.cc.

◆ getValues() [1/2]

void qg::StateQG::getValues ( const LocationsQG locs,
const oops::Variables vars,
GomQG cols 
) const

Get state values at observation locations.

Definition at line 90 of file StateQG.cc.

◆ getValues() [2/2]

void qg::StateQG::getValues ( const LocationsQG locs,
const oops::Variables vars,
GomQG cols,
Nothing  
) const

Definition at line 95 of file StateQG.cc.

◆ norm()

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

Definition at line 76 of file StateQG.h.

◆ operator+=()

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

Interactions with Increment.

Interactions with Increments.

Definition at line 109 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 82 of file StateQG.cc.

◆ print()

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

Definition at line 126 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 118 of file StateQG.cc.

◆ validTime() [1/2]

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

Definition at line 77 of file StateQG.h.

Here is the caller graph for this function:

◆ validTime() [2/2]

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

Definition at line 78 of file StateQG.h.

◆ write()

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

Definition at line 122 of file StateQG.cc.

◆ zero()

void qg::StateQG::zero ( )

Other.

For accumulator.

Definition at line 133 of file StateQG.cc.

Member Data Documentation

◆ fields_

boost::scoped_ptr<FieldsQG> qg::StateQG::fields_
private

Definition at line 96 of file StateQG.h.

◆ stash_

boost::scoped_ptr<FieldsQG> qg::StateQG::stash_
private

Definition at line 97 of file StateQG.h.


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