OOPS
oops::ObsErrors< OBS > Class Template Reference

\biref Container for ObsErrors for all observation types that are used in DA More...

#include <ObsErrors.h>

Inheritance diagram for oops::ObsErrors< OBS >:
Collaboration diagram for oops::ObsErrors< OBS >:

Public Member Functions

 ObsErrors (const eckit::Configuration &, const ObsSpaces_ &)
 
size_t size () const
 Accessor and size. More...
 
const ObsError_operator[] (const size_t ii) const
 
void multiply (Departures_ &) const
 Multiply a Departure by \(R\). More...
 
void inverseMultiply (Departures_ &) const
 Multiply a Departure by \(R^{-1}\). More...
 
void randomize (Departures_ &) const
 Generate random perturbation. More...
 
Eigen::VectorXd packInverseVarianceEigen () const
 

Static Public Member Functions

static const std::string classname ()
 

Private Types

typedef Departures< OBS > Departures_
 
typedef ObsErrorBase< OBS > ObsError_
 
typedef ObsSpaces< OBS > ObsSpaces_
 
typedef ObsVector< OBS > ObsVector_
 

Private Member Functions

void print (std::ostream &) const
 

Private Attributes

std::vector< std::unique_ptr< ObsError_ > > err_
 

Detailed Description

template<typename OBS>
class oops::ObsErrors< OBS >

\biref Container for ObsErrors for all observation types that are used in DA

Definition at line 32 of file ObsErrors.h.

Member Typedef Documentation

◆ Departures_

template<typename OBS >
typedef Departures<OBS> oops::ObsErrors< OBS >::Departures_
private

Definition at line 34 of file ObsErrors.h.

◆ ObsError_

template<typename OBS >
typedef ObsErrorBase<OBS> oops::ObsErrors< OBS >::ObsError_
private

Definition at line 35 of file ObsErrors.h.

◆ ObsSpaces_

template<typename OBS >
typedef ObsSpaces<OBS> oops::ObsErrors< OBS >::ObsSpaces_
private

Definition at line 36 of file ObsErrors.h.

◆ ObsVector_

template<typename OBS >
typedef ObsVector<OBS> oops::ObsErrors< OBS >::ObsVector_
private

Definition at line 37 of file ObsErrors.h.

Constructor & Destructor Documentation

◆ ObsErrors()

template<typename OBS >
oops::ObsErrors< OBS >::ObsErrors ( const eckit::Configuration &  config,
const ObsSpaces_ os 
)

Definition at line 68 of file ObsErrors.h.

Here is the call graph for this function:

Member Function Documentation

◆ classname()

template<typename OBS >
static const std::string oops::ObsErrors< OBS >::classname ( )
inlinestatic

Definition at line 40 of file ObsErrors.h.

◆ inverseMultiply()

template<typename OBS >
void oops::ObsErrors< OBS >::inverseMultiply ( Departures_ dy) const

Multiply a Departure by \(R^{-1}\).

Definition at line 90 of file ObsErrors.h.

◆ multiply()

template<typename OBS >
void oops::ObsErrors< OBS >::multiply ( Departures_ dy) const

Multiply a Departure by \(R\).

Definition at line 81 of file ObsErrors.h.

◆ operator[]()

template<typename OBS >
const ObsError_& oops::ObsErrors< OBS >::operator[] ( const size_t  ii) const
inline

Definition at line 46 of file ObsErrors.h.

◆ packInverseVarianceEigen()

template<typename OBS >
Eigen::VectorXd oops::ObsErrors< OBS >::packInverseVarianceEigen

Pack inverseVariance into an Eigen vector (excluding observations that are masked out)

Definition at line 108 of file ObsErrors.h.

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

◆ print()

template<typename OBS >
void oops::ObsErrors< OBS >::print ( std::ostream &  os) const
private

Definition at line 131 of file ObsErrors.h.

◆ randomize()

template<typename OBS >
void oops::ObsErrors< OBS >::randomize ( Departures_ dy) const

Generate random perturbation.

Definition at line 99 of file ObsErrors.h.

Here is the caller graph for this function:

◆ size()

template<typename OBS >
size_t oops::ObsErrors< OBS >::size ( ) const
inline

Accessor and size.

Definition at line 45 of file ObsErrors.h.

Member Data Documentation

◆ err_

template<typename OBS >
std::vector<std::unique_ptr<ObsError_> > oops::ObsErrors< OBS >::err_
private

Definition at line 62 of file ObsErrors.h.


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