OOPS
oops::ObsEnsemble< OBS > Class Template Reference

Ensemble of observations (can hold ensemble of H(x)) More...

#include <ObsEnsemble.h>

Collaboration diagram for oops::ObsEnsemble< OBS >:

Public Member Functions

 ObsEnsemble (const ObsSpaces_ &, const size_t &nens)
 Create ensemble of empty Observations size nens. More...
 
size_t size () const
 Accessors and size. More...
 
Observations_operator[] (const size_t ii)
 
const Observations_operator[] (const size_t ii) const
 
Observations_ mean () const
 Compute ensemble mean. More...
 

Private Types

typedef Observations< OBS > Observations_
 
typedef ObsSpaces< OBS > ObsSpaces_
 

Private Attributes

const ObsSpaces_obsdb_
 
std::vector< Observations_ensemble_
 

Detailed Description

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

Ensemble of observations (can hold ensemble of H(x))

Definition at line 21 of file ObsEnsemble.h.

Member Typedef Documentation

◆ Observations_

template<typename OBS >
typedef Observations<OBS> oops::ObsEnsemble< OBS >::Observations_
private

Definition at line 22 of file ObsEnsemble.h.

◆ ObsSpaces_

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

Definition at line 23 of file ObsEnsemble.h.

Constructor & Destructor Documentation

◆ ObsEnsemble()

template<typename OBS >
oops::ObsEnsemble< OBS >::ObsEnsemble ( const ObsSpaces_ obsdb,
const size_t &  nens 
)

Create ensemble of empty Observations size nens.

Definition at line 45 of file ObsEnsemble.h.

Member Function Documentation

◆ mean()

template<typename OBS >
Observations< OBS > oops::ObsEnsemble< OBS >::mean

Compute ensemble mean.

Definition at line 58 of file ObsEnsemble.h.

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

◆ operator[]() [1/2]

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

Definition at line 31 of file ObsEnsemble.h.

◆ operator[]() [2/2]

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

Definition at line 32 of file ObsEnsemble.h.

◆ size()

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

Accessors and size.

Definition at line 30 of file ObsEnsemble.h.

Member Data Documentation

◆ ensemble_

template<typename OBS >
std::vector<Observations_> oops::ObsEnsemble< OBS >::ensemble_
private

Definition at line 39 of file ObsEnsemble.h.

◆ obsdb_

template<typename OBS >
const ObsSpaces_& oops::ObsEnsemble< OBS >::obsdb_
private

Definition at line 38 of file ObsEnsemble.h.


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