FV3 Bundle
|
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 (GeneralizedDepartures *) |
boost::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 | clear () |
Private Types | |
typedef Increment< MODEL > | Increment_ |
typedef ControlIncrement< MODEL > | CtrlInc_ |
typedef Departures< MODEL > | Departures_ |
Private Member Functions | |
bool | compatible (const DualVector &other) const |
Private Attributes | |
boost::scoped_ptr< CtrlInc_ > | dxjb_ |
std::vector< boost::shared_ptr< Departures_ > > | dxjo_ |
std::vector< boost::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 34 of file DualVector.h.
|
private |
Definition at line 36 of file DualVector.h.
|
private |
Definition at line 37 of file DualVector.h.
|
private |
Definition at line 35 of file DualVector.h.
|
inline |
Definition at line 40 of file DualVector.h.
oops::DualVector< MODEL >::DualVector | ( | const DualVector< MODEL > & | other | ) |
Definition at line 79 of file DualVector.h.
|
inline |
Definition at line 42 of file DualVector.h.
void oops::DualVector< MODEL >::append | ( | GeneralizedDepartures * | pv | ) |
void oops::DualVector< MODEL >::axpy | ( | const double | zz, |
const DualVector< MODEL > & | rhs | ||
) |
void oops::DualVector< MODEL >::clear | ( | ) |
|
private |
Definition at line 243 of file DualVector.h.
double oops::DualVector< MODEL >::dot_product_with | ( | const DualVector< MODEL > & | x2 | ) | const |
Definition at line 227 of file DualVector.h.
|
inline |
Definition at line 45 of file DualVector.h.
|
inline |
|
inline |
Definition at line 47 of file DualVector.h.
boost::shared_ptr< const GeneralizedDepartures > oops::DualVector< MODEL >::getv | ( | const unsigned | ii | ) | const |
DualVector< MODEL > & oops::DualVector< MODEL >::operator*= | ( | const double | zz | ) |
Definition at line 186 of file DualVector.h.
DualVector< MODEL > & oops::DualVector< MODEL >::operator+= | ( | const DualVector< MODEL > & | rhs | ) |
Definition at line 156 of file DualVector.h.
DualVector< MODEL > & oops::DualVector< MODEL >::operator-= | ( | const DualVector< MODEL > & | rhs | ) |
Definition at line 171 of file DualVector.h.
DualVector< MODEL > & oops::DualVector< MODEL >::operator= | ( | const DualVector< MODEL > & | rhs | ) |
Definition at line 141 of file DualVector.h.
void oops::DualVector< MODEL >::zero | ( | ) |
|
private |
Definition at line 68 of file DualVector.h.
|
private |
Definition at line 70 of file DualVector.h.
|
private |
Definition at line 69 of file DualVector.h.
|
private |
Definition at line 72 of file DualVector.h.
|
private |
Definition at line 71 of file DualVector.h.
|
private |
Definition at line 73 of file DualVector.h.