OOPS
qg::ObsVecQG Class Reference

ObsVecQG class to handle vectors in observation space for QG model. More...

#include <ObsVecQG.h>

Inheritance diagram for qg::ObsVecQG:
Collaboration diagram for qg::ObsVecQG:

Public Member Functions

 ObsVecQG (const ObsSpaceQG &, const std::string &name="", const bool fail=true)
 
 ObsVecQG (const ObsVecQG &)
 
 ObsVecQG (const ObsSpaceQG &, const ObsVecQG &)
 
 ~ObsVecQG ()
 
ObsVecQGoperator= (const ObsVecQG &)
 
ObsVecQGoperator*= (const double &)
 
ObsVecQGoperator+= (const ObsVecQG &)
 
ObsVecQGoperator-= (const ObsVecQG &)
 
ObsVecQGoperator*= (const ObsVecQG &)
 
ObsVecQGoperator/= (const ObsVecQG &)
 
Eigen::VectorXd packEigen () const
 
void zero ()
 
void axpy (const double &, const ObsVecQG &)
 
void invert ()
 
void random ()
 
double dot_product_with (const ObsVecQG &) const
 
double rms () const
 
void mask (const ObsDataQG< int > &)
 
unsigned int nobs () const
 
const int & toFortran () const
 
void save (const std::string &) const
 
void read (const std::string &)
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

void print (std::ostream &) const
 

Private Attributes

const ObsSpaceQGobsdb_
 
F90ovec keyOvec_
 

Detailed Description

ObsVecQG class to handle vectors in observation space for QG model.

Definition at line 33 of file ObsVecQG.h.

Constructor & Destructor Documentation

◆ ObsVecQG() [1/3]

qg::ObsVecQG::ObsVecQG ( const ObsSpaceQG obsdb,
const std::string &  name = "",
const bool  fail = true 
)

Definition at line 24 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ ObsVecQG() [2/3]

qg::ObsVecQG::ObsVecQG ( const ObsVecQG other)

Definition at line 34 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ ObsVecQG() [3/3]

qg::ObsVecQG::ObsVecQG ( const ObsSpaceQG obsdb,
const ObsVecQG other 
)

Definition at line 40 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ ~ObsVecQG()

qg::ObsVecQG::~ObsVecQG ( )

Definition at line 48 of file ObsVecQG.cc.

Here is the call graph for this function:

Member Function Documentation

◆ axpy()

void qg::ObsVecQG::axpy ( const double &  zz,
const ObsVecQG rhs 
)

Definition at line 96 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ classname()

static const std::string qg::ObsVecQG::classname ( )
inlinestatic

Definition at line 36 of file ObsVecQG.h.

◆ dot_product_with()

double qg::ObsVecQG::dot_product_with ( const ObsVecQG other) const

Definition at line 110 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ invert()

void qg::ObsVecQG::invert ( )

Definition at line 102 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ mask()

void qg::ObsVecQG::mask ( const ObsDataQG< int > &  )
inline

Definition at line 58 of file ObsVecQG.h.

◆ nobs()

unsigned int qg::ObsVecQG::nobs ( ) const

Definition at line 159 of file ObsVecQG.cc.

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

◆ operator*=() [1/2]

ObsVecQG & qg::ObsVecQG::operator*= ( const double &  zz)

Definition at line 59 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ operator*=() [2/2]

ObsVecQG & qg::ObsVecQG::operator*= ( const ObsVecQG rhs)

Definition at line 78 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ operator+=()

ObsVecQG & qg::ObsVecQG::operator+= ( const ObsVecQG rhs)

Definition at line 64 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ operator-=()

ObsVecQG & qg::ObsVecQG::operator-= ( const ObsVecQG rhs)

Definition at line 71 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ operator/=()

ObsVecQG & qg::ObsVecQG::operator/= ( const ObsVecQG rhs)

Definition at line 85 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ operator=()

ObsVecQG & qg::ObsVecQG::operator= ( const ObsVecQG rhs)

Definition at line 52 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ packEigen()

Eigen::VectorXd qg::ObsVecQG::packEigen ( ) const

Definition at line 133 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ print()

void qg::ObsVecQG::print ( std::ostream &  os) const
private

Definition at line 147 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ random()

void qg::ObsVecQG::random ( )

Definition at line 106 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ read()

void qg::ObsVecQG::read ( const std::string &  name)

Definition at line 143 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ rms()

double qg::ObsVecQG::rms ( ) const

Definition at line 118 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ save()

void qg::ObsVecQG::save ( const std::string &  name) const

Definition at line 129 of file ObsVecQG.cc.

Here is the call graph for this function:

◆ toFortran()

const int& qg::ObsVecQG::toFortran ( ) const
inline

Definition at line 62 of file ObsVecQG.h.

Here is the caller graph for this function:

◆ zero()

void qg::ObsVecQG::zero ( )

Definition at line 92 of file ObsVecQG.cc.

Here is the call graph for this function:

Member Data Documentation

◆ keyOvec_

F90ovec qg::ObsVecQG::keyOvec_
private

Definition at line 72 of file ObsVecQG.h.

◆ obsdb_

const ObsSpaceQG& qg::ObsVecQG::obsdb_
private

Definition at line 71 of file ObsVecQG.h.


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