OOPS
oops::Increment4D< MODEL > Class Template Reference

State increment. More...

#include <Increment4D.h>

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

Public Member Functions

 Increment4D (const JbState_ &)
 Constructor, destructor. More...
 
 Increment4D (const Increment_ &)
 
 Increment4D (const Geometry_ &, const Variables &, const std::vector< util::DateTime > &)
 
 Increment4D (const Increment4D &, const bool copy=true)
 
 Increment4D (const Geometry_ &, const Increment4D &)
 
 ~Increment4D ()
 
Increment_incr4d ()
 Interfacing. More...
 
const Increment_incr4d () const
 
void diff (const State4D_ &, const State4D_ &)
 Linear algebra operators. More...
 
void zero ()
 
void random ()
 
void ones ()
 
void dirac (std::vector< eckit::LocalConfiguration >)
 
Increment4Doperator= (const Increment4D &)
 
Increment4Doperator+= (const Increment4D &)
 
Increment4Doperator-= (const Increment4D &)
 
Increment4Doperator*= (const double)
 
void axpy (const double, const Increment4D &, const bool check=true)
 
double dot_product_with (const Increment4D &) const
 
void schur_product_with (const Increment4D &)
 
void read (const eckit::Configuration &)
 I/O and diagnostics. More...
 
void write (const eckit::Configuration &) const
 
Geometry_ geometry () const
 Get geometry. More...
 
void setAtlas (atlas::FieldSet *) const
 ATLAS FieldSet. More...
 
void toAtlas (atlas::FieldSet *) const
 
void fromAtlas (atlas::FieldSet *)
 
Increment_operator[] (const int ii)
 Get model space control variable. More...
 
const Increment_operator[] (const int ii) const
 
int first () const
 
int last () const
 
size_t size () const
 
void shift_forward ()
 To be removed. More...
 
void shift_backward ()
 
size_t serialSize () const override
 Serialize and deserialize. More...
 
void serialize (std::vector< double > &) const override
 
void deserialize (const std::vector< double > &, size_t &) override
 

Static Public Member Functions

static const std::string classname ()
 

Private Types

typedef Geometry< MODEL > Geometry_
 
typedef Increment< MODEL > Increment_
 
typedef CostJbState< MODEL > JbState_
 
typedef State4D< MODEL > State4D_
 
typedef boost::ptr_map< int, Increment_ >::iterator iter_
 
typedef boost::ptr_map< int, Increment_ >::const_iterator icst_
 

Private Member Functions

Increment_get (const int)
 
const Increment_get (const int) const
 
void print (std::ostream &) const override
 

Private Attributes

boost::ptr_map< int, Increment_incr4d_
 
int first_
 
int last_
 

Detailed Description

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

State increment.

The state increment contains the increment to the 3D or 4D state part of the VDA control variable.

Definition at line 48 of file Increment4D.h.

Member Typedef Documentation

◆ Geometry_

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

Definition at line 50 of file Increment4D.h.

◆ icst_

template<typename MODEL >
typedef boost::ptr_map<int, Increment_>::const_iterator oops::Increment4D< MODEL >::icst_
private

Definition at line 118 of file Increment4D.h.

◆ Increment_

template<typename MODEL >
typedef Increment<MODEL> oops::Increment4D< MODEL >::Increment_
private

Definition at line 51 of file Increment4D.h.

◆ iter_

template<typename MODEL >
typedef boost::ptr_map<int, Increment_>::iterator oops::Increment4D< MODEL >::iter_
private

Definition at line 117 of file Increment4D.h.

◆ JbState_

template<typename MODEL >
typedef CostJbState<MODEL> oops::Increment4D< MODEL >::JbState_
private

Definition at line 52 of file Increment4D.h.

◆ State4D_

template<typename MODEL >
typedef State4D<MODEL> oops::Increment4D< MODEL >::State4D_
private

Definition at line 53 of file Increment4D.h.

Constructor & Destructor Documentation

◆ Increment4D() [1/5]

template<typename MODEL >
oops::Increment4D< MODEL >::Increment4D ( const JbState_ jb)
explicit

Constructor, destructor.

Definition at line 136 of file Increment4D.h.

Here is the call graph for this function:

◆ Increment4D() [2/5]

template<typename MODEL >
oops::Increment4D< MODEL >::Increment4D ( const Increment_ dx)
explicit

Definition at line 147 of file Increment4D.h.

◆ Increment4D() [3/5]

template<typename MODEL >
oops::Increment4D< MODEL >::Increment4D ( const Geometry_ resol,
const Variables vars,
const std::vector< util::DateTime > &  timeslots 
)

Definition at line 156 of file Increment4D.h.

◆ Increment4D() [4/5]

template<typename MODEL >
oops::Increment4D< MODEL >::Increment4D ( const Increment4D< MODEL > &  other,
const bool  copy = true 
)

Definition at line 169 of file Increment4D.h.

◆ Increment4D() [5/5]

template<typename MODEL >
oops::Increment4D< MODEL >::Increment4D ( const Geometry_ geom,
const Increment4D< MODEL > &  other 
)

Definition at line 182 of file Increment4D.h.

◆ ~Increment4D()

template<typename MODEL >
oops::Increment4D< MODEL >::~Increment4D

Definition at line 208 of file Increment4D.h.

Member Function Documentation

◆ axpy()

template<typename MODEL >
void oops::Increment4D< MODEL >::axpy ( const double  zz,
const Increment4D< MODEL > &  rhs,
const bool  check = true 
)

Definition at line 282 of file Increment4D.h.

◆ classname()

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

Definition at line 56 of file Increment4D.h.

◆ deserialize()

template<typename MODEL >
void oops::Increment4D< MODEL >::deserialize ( const std::vector< double > &  vect,
size_t &  current 
)
override

Definition at line 394 of file Increment4D.h.

◆ diff()

template<typename MODEL >
void oops::Increment4D< MODEL >::diff ( const State4D_ cv1,
const State4D_ cv2 
)

Linear algebra operators.

Definition at line 245 of file Increment4D.h.

Here is the caller graph for this function:

◆ dirac()

template<typename MODEL >
void oops::Increment4D< MODEL >::dirac ( std::vector< eckit::LocalConfiguration >  confs)

Definition at line 232 of file Increment4D.h.

◆ dot_product_with()

template<typename MODEL >
double oops::Increment4D< MODEL >::dot_product_with ( const Increment4D< MODEL > &  x2) const

Definition at line 336 of file Increment4D.h.

◆ first()

template<typename MODEL >
int oops::Increment4D< MODEL >::first ( ) const
inline

Definition at line 99 of file Increment4D.h.

Here is the caller graph for this function:

◆ fromAtlas()

template<typename MODEL >
void oops::Increment4D< MODEL >::fromAtlas ( atlas::FieldSet *  afieldset)

Definition at line 322 of file Increment4D.h.

◆ geometry()

template<typename MODEL >
Geometry_ oops::Increment4D< MODEL >::geometry ( ) const
inline

Get geometry.

Definition at line 89 of file Increment4D.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get() [1/2]

template<typename MODEL >
Increment< MODEL > & oops::Increment4D< MODEL >::get ( const int  ii)
private

Definition at line 194 of file Increment4D.h.

Here is the caller graph for this function:

◆ get() [2/2]

template<typename MODEL >
const Increment< MODEL > & oops::Increment4D< MODEL >::get ( const int  ii) const
private

Definition at line 201 of file Increment4D.h.

◆ incr4d() [1/2]

template<typename MODEL >
Increment_& oops::Increment4D< MODEL >::incr4d ( )
inline

Interfacing.

Definition at line 67 of file Increment4D.h.

◆ incr4d() [2/2]

template<typename MODEL >
const Increment_& oops::Increment4D< MODEL >::incr4d ( ) const
inline

Definition at line 68 of file Increment4D.h.

◆ last()

template<typename MODEL >
int oops::Increment4D< MODEL >::last ( ) const
inline

Definition at line 100 of file Increment4D.h.

Here is the caller graph for this function:

◆ ones()

template<typename MODEL >
void oops::Increment4D< MODEL >::ones

Definition at line 225 of file Increment4D.h.

◆ operator*=()

template<typename MODEL >
Increment4D< MODEL > & oops::Increment4D< MODEL >::operator*= ( const double  zz)

Definition at line 274 of file Increment4D.h.

◆ operator+=()

template<typename MODEL >
Increment4D< MODEL > & oops::Increment4D< MODEL >::operator+= ( const Increment4D< MODEL > &  rhs)

Definition at line 258 of file Increment4D.h.

Here is the call graph for this function:

◆ operator-=()

template<typename MODEL >
Increment4D< MODEL > & oops::Increment4D< MODEL >::operator-= ( const Increment4D< MODEL > &  rhs)

Definition at line 266 of file Increment4D.h.

Here is the call graph for this function:

◆ operator=()

template<typename MODEL >
Increment4D< MODEL > & oops::Increment4D< MODEL >::operator= ( const Increment4D< MODEL > &  rhs)

Definition at line 252 of file Increment4D.h.

◆ operator[]() [1/2]

template<typename MODEL >
Increment_& oops::Increment4D< MODEL >::operator[] ( const int  ii)
inline

Get model space control variable.

Definition at line 97 of file Increment4D.h.

Here is the call graph for this function:

◆ operator[]() [2/2]

template<typename MODEL >
const Increment_& oops::Increment4D< MODEL >::operator[] ( const int  ii) const
inline

Definition at line 98 of file Increment4D.h.

Here is the call graph for this function:

◆ print()

template<typename MODEL >
void oops::Increment4D< MODEL >::print ( std::ostream &  outs) const
overrideprivate

Definition at line 329 of file Increment4D.h.

◆ random()

template<typename MODEL >
void oops::Increment4D< MODEL >::random

Definition at line 218 of file Increment4D.h.

◆ read()

template<typename MODEL >
void oops::Increment4D< MODEL >::read ( const eckit::Configuration &  config)

I/O and diagnostics.

Definition at line 289 of file Increment4D.h.

◆ schur_product_with()

template<typename MODEL >
void oops::Increment4D< MODEL >::schur_product_with ( const Increment4D< MODEL > &  x2)

Definition at line 345 of file Increment4D.h.

Here is the caller graph for this function:

◆ serialize()

template<typename MODEL >
void oops::Increment4D< MODEL >::serialize ( std::vector< double > &  vect) const
override

Definition at line 385 of file Increment4D.h.

◆ serialSize()

template<typename MODEL >
size_t oops::Increment4D< MODEL >::serialSize
override

Serialize and deserialize.

Definition at line 375 of file Increment4D.h.

◆ setAtlas()

template<typename MODEL >
void oops::Increment4D< MODEL >::setAtlas ( atlas::FieldSet *  afieldset) const

ATLAS FieldSet.

Definition at line 308 of file Increment4D.h.

◆ shift_backward()

template<typename MODEL >
void oops::Increment4D< MODEL >::shift_backward

Definition at line 364 of file Increment4D.h.

◆ shift_forward()

template<typename MODEL >
void oops::Increment4D< MODEL >::shift_forward

To be removed.

Definition at line 352 of file Increment4D.h.

◆ size()

template<typename MODEL >
size_t oops::Increment4D< MODEL >::size ( ) const
inline

Definition at line 101 of file Increment4D.h.

Here is the caller graph for this function:

◆ toAtlas()

template<typename MODEL >
void oops::Increment4D< MODEL >::toAtlas ( atlas::FieldSet *  afieldset) const

Definition at line 315 of file Increment4D.h.

◆ write()

template<typename MODEL >
void oops::Increment4D< MODEL >::write ( const eckit::Configuration &  config) const

Definition at line 301 of file Increment4D.h.

◆ zero()

template<typename MODEL >
void oops::Increment4D< MODEL >::zero

Definition at line 211 of file Increment4D.h.

Member Data Documentation

◆ first_

template<typename MODEL >
int oops::Increment4D< MODEL >::first_
private

Definition at line 120 of file Increment4D.h.

◆ incr4d_

template<typename MODEL >
boost::ptr_map<int, Increment_> oops::Increment4D< MODEL >::incr4d_
private

Definition at line 119 of file Increment4D.h.

◆ last_

template<typename MODEL >
int oops::Increment4D< MODEL >::last_
private

Definition at line 121 of file Increment4D.h.


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