OOPS
|
Container of dual space vectors for all terms of the cost function. More...
#include <DualVector.h>
Public Member Functions | |
DualVector () | |
DualVector (const DualVector &) | |
~DualVector () | |
void | dx (CtrlInc_ *dx) |
const CtrlInc_ & | dx () const |
CtrlInc_ & | dx () |
void | append (std::unique_ptr< GeneralizedDepartures > &&) |
std::shared_ptr< const GeneralizedDepartures > | getv (const unsigned) const |
DualVector & | operator= (const DualVector &) |
DualVector & | operator+= (const DualVector &) |
DualVector & | operator-= (const DualVector &) |
DualVector & | operator*= (const double) |
void | zero () |
void | axpy (const double, const DualVector &) |
double | dot_product_with (const DualVector &) const |
void | saveDep (const std::string &) const |
void | clear () |
Private Types | |
typedef Increment< MODEL > | Increment_ |
typedef ControlIncrement< MODEL, OBS > | CtrlInc_ |
typedef Departures< OBS > | Departures_ |
Private Member Functions | |
bool | compatible (const DualVector &other) const |
Private Attributes | |
std::unique_ptr< CtrlInc_ > | dxjb_ |
std::vector< std::shared_ptr< Departures_ > > | dxjo_ |
std::vector< std::shared_ptr< Increment_ > > | dxjc_ |
std::vector< unsigned > | ijo_ |
std::vector< unsigned > | ijc_ |
unsigned | size_ |
Container of dual space vectors for all terms of the cost function.
Contains dual space vectors for all terms of the cost function, that is Departures for Jo, an Increment_ for Jc, a ControlIncrement for Jb and Jq.
Definition at line 35 of file DualVector.h.
|
private |
Definition at line 37 of file DualVector.h.
|
private |
Definition at line 38 of file DualVector.h.
|
private |
Definition at line 36 of file DualVector.h.
|
inline |
Definition at line 41 of file DualVector.h.
oops::DualVector< MODEL, OBS >::DualVector | ( | const DualVector< MODEL, OBS > & | other | ) |
Definition at line 82 of file DualVector.h.
|
inline |
Definition at line 43 of file DualVector.h.
void oops::DualVector< MODEL, OBS >::append | ( | std::unique_ptr< GeneralizedDepartures > && | uv | ) |
void oops::DualVector< MODEL, OBS >::axpy | ( | const double | zz, |
const DualVector< MODEL, OBS > & | rhs | ||
) |
void oops::DualVector< MODEL, OBS >::clear |
|
private |
Definition at line 245 of file DualVector.h.
double oops::DualVector< MODEL, OBS >::dot_product_with | ( | const DualVector< MODEL, OBS > & | x2 | ) | const |
Definition at line 229 of file DualVector.h.
|
inline |
Definition at line 48 of file DualVector.h.
|
inline |
|
inline |
Definition at line 46 of file DualVector.h.
std::shared_ptr< const GeneralizedDepartures > oops::DualVector< MODEL, OBS >::getv | ( | const unsigned | ii | ) | const |
DualVector< MODEL, OBS > & oops::DualVector< MODEL, OBS >::operator*= | ( | const double | zz | ) |
Definition at line 188 of file DualVector.h.
DualVector< MODEL, OBS > & oops::DualVector< MODEL, OBS >::operator+= | ( | const DualVector< MODEL, OBS > & | rhs | ) |
Definition at line 158 of file DualVector.h.
DualVector< MODEL, OBS > & oops::DualVector< MODEL, OBS >::operator-= | ( | const DualVector< MODEL, OBS > & | rhs | ) |
Definition at line 173 of file DualVector.h.
DualVector< MODEL, OBS > & oops::DualVector< MODEL, OBS >::operator= | ( | const DualVector< MODEL, OBS > & | rhs | ) |
Definition at line 143 of file DualVector.h.
void oops::DualVector< MODEL, OBS >::saveDep | ( | const std::string & | name | ) | const |
void oops::DualVector< MODEL, OBS >::zero |
|
private |
Definition at line 71 of file DualVector.h.
|
private |
Definition at line 73 of file DualVector.h.
|
private |
Definition at line 72 of file DualVector.h.
|
private |
Definition at line 75 of file DualVector.h.
|
private |
Definition at line 74 of file DualVector.h.
|
private |
Definition at line 76 of file DualVector.h.