OOPS
lorenz95::ObsData1D< DATATYPE > Class Template Reference

Data in observation space. More...

#include <ObsData1D.h>

Inheritance diagram for lorenz95::ObsData1D< DATATYPE >:
Collaboration diagram for lorenz95::ObsData1D< DATATYPE >:

Public Member Functions

 ObsData1D (const ObsTable &, const oops::Variables &, const std::string &)
 
 ObsData1D (const ObsData1D &)
 
 ObsData1D (const ObsVec1D &)
 
 ~ObsData1D ()
 
ObsData1Doperator= (const ObsData1D &)
 
void zero ()
 
void mask (const ObsData1D< int > &)
 
size_t nobs () const
 
DATATYPE & operator[] (const size_t ii)
 
const DATATYPE & operator[] (const size_t ii) const
 
void read (const std::string &)
 
void save (const std::string &) const
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

void print (std::ostream &) const
 

Private Attributes

const ObsTableobsdb_
 
std::vector< DATATYPE > data_
 

Detailed Description

template<typename DATATYPE>
class lorenz95::ObsData1D< DATATYPE >

Data in observation space.

Definition at line 34 of file ObsData1D.h.

Constructor & Destructor Documentation

◆ ObsData1D() [1/3]

template<typename DATATYPE >
lorenz95::ObsData1D< DATATYPE >::ObsData1D ( const ObsTable ot,
const oops::Variables ,
const std::string &  name 
)

Definition at line 67 of file ObsData1D.h.

Here is the call graph for this function:

◆ ObsData1D() [2/3]

template<typename DATATYPE >
lorenz95::ObsData1D< DATATYPE >::ObsData1D ( const ObsData1D< DATATYPE > &  other)

Definition at line 76 of file ObsData1D.h.

◆ ObsData1D() [3/3]

template<typename DATATYPE >
lorenz95::ObsData1D< DATATYPE >::ObsData1D ( const ObsVec1D other)
explicit

Definition at line 81 of file ObsData1D.h.

◆ ~ObsData1D()

template<typename DATATYPE >
lorenz95::ObsData1D< DATATYPE >::~ObsData1D ( )
inline

Definition at line 42 of file ObsData1D.h.

Member Function Documentation

◆ classname()

template<typename DATATYPE >
static const std::string lorenz95::ObsData1D< DATATYPE >::classname ( )
inlinestatic

Definition at line 37 of file ObsData1D.h.

◆ mask()

template<typename DATATYPE >
void lorenz95::ObsData1D< DATATYPE >::mask ( const ObsData1D< int > &  mask)

Definition at line 109 of file ObsData1D.h.

◆ nobs()

template<typename DATATYPE >
size_t lorenz95::ObsData1D< DATATYPE >::nobs ( ) const
inline

Definition at line 49 of file ObsData1D.h.

◆ operator=()

template<typename DATATYPE >
ObsData1D< DATATYPE > & lorenz95::ObsData1D< DATATYPE >::operator= ( const ObsData1D< DATATYPE > &  rhs)

Definition at line 95 of file ObsData1D.h.

◆ operator[]() [1/2]

template<typename DATATYPE >
DATATYPE& lorenz95::ObsData1D< DATATYPE >::operator[] ( const size_t  ii)
inline

Definition at line 50 of file ObsData1D.h.

◆ operator[]() [2/2]

template<typename DATATYPE >
const DATATYPE& lorenz95::ObsData1D< DATATYPE >::operator[] ( const size_t  ii) const
inline

Definition at line 51 of file ObsData1D.h.

◆ print()

template<typename DATATYPE >
void lorenz95::ObsData1D< DATATYPE >::print ( std::ostream &  os) const
private

Definition at line 127 of file ObsData1D.h.

◆ read()

template<typename DATATYPE >
void lorenz95::ObsData1D< DATATYPE >::read ( const std::string &  name)

Definition at line 117 of file ObsData1D.h.

◆ save()

template<typename DATATYPE >
void lorenz95::ObsData1D< DATATYPE >::save ( const std::string &  name) const

Definition at line 122 of file ObsData1D.h.

◆ zero()

template<typename DATATYPE >
void lorenz95::ObsData1D< DATATYPE >::zero

Definition at line 102 of file ObsData1D.h.

Here is the caller graph for this function:

Member Data Documentation

◆ data_

template<typename DATATYPE >
std::vector<DATATYPE> lorenz95::ObsData1D< DATATYPE >::data_
private

Definition at line 61 of file ObsData1D.h.

◆ obsdb_

template<typename DATATYPE >
const ObsTable& lorenz95::ObsData1D< DATATYPE >::obsdb_
private

Definition at line 60 of file ObsData1D.h.


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