OOPS
oops::DeparturesEnsemble< OBS > Class Template Reference

Ensemble of Departures (can hold ensemble perturbations in the observation space) More...

#include <DeparturesEnsemble.h>

Public Member Functions

 DeparturesEnsemble (const ObsSpaces_ &, const size_t nens)
 Creates ensemble of empty Departures size nens. More...
 
size_t size () const
 Accessors and size. More...
 
Departures_operator[] (const size_t ii)
 
const Departures_operator[] (const size_t ii) const
 
Eigen::MatrixXd packEigen (const Departures_ &) const
 pack ensemble of dep. as contiguous block of memory More...
 

Private Types

typedef Departures< OBS > Departures_
 
typedef ObsSpaces< OBS > ObsSpaces_
 
template<typename DATA >
using ObsData_ = ObsDataVector< OBS, DATA >
 
template<typename DATA >
using ObsDataVec_ = std::vector< std::shared_ptr< ObsData_< DATA > >>
 

Private Attributes

std::vector< Departures_ensemblePerturbs_
 

Detailed Description

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

Ensemble of Departures (can hold ensemble perturbations in the observation space)

Definition at line 25 of file DeparturesEnsemble.h.

Member Typedef Documentation

◆ Departures_

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

Definition at line 26 of file DeparturesEnsemble.h.

◆ ObsData_

template<typename OBS >
template<typename DATA >
using oops::DeparturesEnsemble< OBS >::ObsData_ = ObsDataVector<OBS, DATA>
private

Definition at line 28 of file DeparturesEnsemble.h.

◆ ObsDataVec_

template<typename OBS >
template<typename DATA >
using oops::DeparturesEnsemble< OBS >::ObsDataVec_ = std::vector<std::shared_ptr<ObsData_<DATA> >>
private

Definition at line 29 of file DeparturesEnsemble.h.

◆ ObsSpaces_

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

Definition at line 27 of file DeparturesEnsemble.h.

Constructor & Destructor Documentation

◆ DeparturesEnsemble()

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

Creates ensemble of empty Departures size nens.

Definition at line 50 of file DeparturesEnsemble.h.

Member Function Documentation

◆ operator[]() [1/2]

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

Definition at line 37 of file DeparturesEnsemble.h.

◆ operator[]() [2/2]

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

Definition at line 38 of file DeparturesEnsemble.h.

◆ packEigen()

template<typename OBS >
Eigen::MatrixXd oops::DeparturesEnsemble< OBS >::packEigen ( const Departures_ mask) const

pack ensemble of dep. as contiguous block of memory

Definition at line 62 of file DeparturesEnsemble.h.

◆ size()

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

Accessors and size.

Definition at line 36 of file DeparturesEnsemble.h.

Member Data Documentation

◆ ensemblePerturbs_

template<typename OBS >
std::vector<Departures_> oops::DeparturesEnsemble< OBS >::ensemblePerturbs_
private

Definition at line 44 of file DeparturesEnsemble.h.


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