FV3 Bundle
|
Control vector for the saddle point formulation. More...
#include <SaddlePointVector.h>
Public Member Functions | |
SaddlePointVector (CtrlInc_ *, Multipliers_ *) | |
SaddlePointVector (const SaddlePointVector &) | |
const Multipliers_ & | lambda () const |
Accessor method to get the lambda_ component. More... | |
Multipliers_ & | lambda () |
void | lambda (Multipliers_ *lambda) |
Accessor method to set the lambda_ component. More... | |
const CtrlInc_ & | dx () const |
Accessor method to get the dx_ component. More... | |
CtrlInc_ & | dx () |
void | dx (CtrlInc_ *dx) |
Accessor method to set the dx_ component. More... | |
SaddlePointVector & | operator= (const SaddlePointVector &) |
SaddlePointVector & | operator+= (const SaddlePointVector &) |
SaddlePointVector & | operator-= (const SaddlePointVector &) |
SaddlePointVector & | operator*= (const double) |
void | zero () |
void | axpy (const double, const SaddlePointVector &) |
double | dot_product_with (const SaddlePointVector &) const |
Private Types | |
typedef ControlIncrement< MODEL > | CtrlInc_ |
typedef DualVector< MODEL > | Multipliers_ |
Private Attributes | |
boost::scoped_ptr< Multipliers_ > | lambda_ |
boost::scoped_ptr< CtrlInc_ > | dx_ |
Control vector for the saddle point formulation.
The vector contains two ControlIncrements and one Departure, and knows how to do basic linear algebra.Control vector for the saddle point formulation.
Definition at line 30 of file SaddlePointVector.h.
|
private |
Definition at line 31 of file SaddlePointVector.h.
|
private |
Definition at line 32 of file SaddlePointVector.h.
oops::SaddlePointVector< MODEL >::SaddlePointVector | ( | CtrlInc_ * | dx, |
Multipliers_ * | lambda | ||
) |
Definition at line 68 of file SaddlePointVector.h.
oops::SaddlePointVector< MODEL >::SaddlePointVector | ( | const SaddlePointVector< MODEL > & | other | ) |
Definition at line 76 of file SaddlePointVector.h.
void oops::SaddlePointVector< MODEL >::axpy | ( | const double | zz, |
const SaddlePointVector< MODEL > & | rhs | ||
) |
Definition at line 125 of file SaddlePointVector.h.
double oops::SaddlePointVector< MODEL >::dot_product_with | ( | const SaddlePointVector< MODEL > & | x2 | ) | const |
Definition at line 133 of file SaddlePointVector.h.
|
inline |
Accessor method to get the dx_ component.
Definition at line 46 of file SaddlePointVector.h.
|
inline |
Definition at line 47 of file SaddlePointVector.h.
|
inline |
Accessor method to set the dx_ component.
Definition at line 50 of file SaddlePointVector.h.
|
inline |
Accessor method to get the lambda_ component.
Definition at line 39 of file SaddlePointVector.h.
|
inline |
Definition at line 40 of file SaddlePointVector.h.
|
inline |
Accessor method to set the lambda_ component.
Definition at line 43 of file SaddlePointVector.h.
SaddlePointVector< MODEL > & oops::SaddlePointVector< MODEL >::operator*= | ( | const double | rhs | ) |
Definition at line 110 of file SaddlePointVector.h.
SaddlePointVector< MODEL > & oops::SaddlePointVector< MODEL >::operator+= | ( | const SaddlePointVector< MODEL > & | rhs | ) |
Definition at line 92 of file SaddlePointVector.h.
SaddlePointVector< MODEL > & oops::SaddlePointVector< MODEL >::operator-= | ( | const SaddlePointVector< MODEL > & | rhs | ) |
Definition at line 101 of file SaddlePointVector.h.
SaddlePointVector< MODEL > & oops::SaddlePointVector< MODEL >::operator= | ( | const SaddlePointVector< MODEL > & | rhs | ) |
Definition at line 83 of file SaddlePointVector.h.
void oops::SaddlePointVector< MODEL >::zero | ( | ) |
Definition at line 118 of file SaddlePointVector.h.
|
private |
Definition at line 62 of file SaddlePointVector.h.
|
private |
Definition at line 61 of file SaddlePointVector.h.