FV3 Bundle
|
Jb Cost Function. More...
#include <CostJb3D.h>
Public Member Functions | |
CostJb3D (const eckit::Configuration &, const Geometry_ &, const Variables &, const util::Duration &, const State_ &) | |
Construct \( J_b\). More... | |
virtual | ~CostJb3D () |
Destructor. More... | |
JqTerm< MODEL > * | initializeJq () const override |
Empty Jq observer. More... | |
JqTermTLAD< MODEL > * | initializeJqTLAD () const override |
void | computeIncrement (const State4D_ &, const State4D_ &, Increment4D_ &) const override |
Get increment from state (usually first guess). More... | |
void | linearize (const State4D_ &, const Geometry_ &) override |
Linearize before the linear computations. More... | |
void | addGradient (const Increment4D_ &, Increment4D_ &, Increment4D_ &) const override |
Add Jb gradient. More... | |
JqTermTLAD< MODEL > * | initializeJqTL () const override |
Empty TL Jq observer. More... | |
JqTermTLAD< MODEL > * | initializeJqAD (const Increment4D_ &) const override |
Empty AD Jq observer. More... | |
void | Bmult (const Increment4D_ &, Increment4D_ &) const override |
Multiply by \( B\) and \( B^{-1}\). More... | |
void | Bminv (const Increment4D_ &, Increment4D_ &) const override |
void | randomize (Increment4D_ &) const override |
Randomize. More... | |
unsigned int | nstates () const override |
Create new increment (set to 0). More... | |
Increment_ * | newStateIncrement (const unsigned int) const override |
Public Member Functions inherited from oops::CostJbState< MODEL > | |
CostJbState () | |
Constructor. More... | |
virtual | ~CostJbState () |
Destructor. More... | |
Private Types | |
typedef Increment< MODEL > | Increment_ |
typedef State< MODEL > | State_ |
typedef State4D< MODEL > | State4D_ |
typedef Increment4D< MODEL > | Increment4D_ |
typedef ControlIncrement< MODEL > | CtrlInc_ |
typedef Geometry< MODEL > | Geometry_ |
Private Attributes | |
const State_ & | xb_ |
boost::scoped_ptr< ModelSpaceCovarianceBase< MODEL > > | B_ |
const util::Duration | winLength_ |
const Variables | controlvars_ |
boost::scoped_ptr< const Geometry_ > | resol_ |
boost::scoped_ptr< const util::DateTime > | time_ |
const eckit::LocalConfiguration | conf_ |
Jb Cost Function.
The CostJb3D encapsulates the Jb term of the cost function for a 3 dimensional background.
This class is not really necessary since it is only a special case of the more general CostJbJq weak constraint term with one sub-window. It is provided for readability.
Definition at line 48 of file CostJb3D.h.
|
private |
Definition at line 53 of file CostJb3D.h.
|
private |
Definition at line 54 of file CostJb3D.h.
|
private |
Definition at line 52 of file CostJb3D.h.
|
private |
Definition at line 49 of file CostJb3D.h.
|
private |
Definition at line 51 of file CostJb3D.h.
|
private |
Definition at line 50 of file CostJb3D.h.
oops::CostJb3D< MODEL >::CostJb3D | ( | const eckit::Configuration & | config, |
const Geometry_ & | , | ||
const Variables & | ctlvars, | ||
const util::Duration & | len, | ||
const State_ & | xb | ||
) |
Construct \( J_b\).
Definition at line 110 of file CostJb3D.h.
|
inlinevirtual |
Destructor.
Definition at line 62 of file CostJb3D.h.
|
overridevirtual |
|
overridevirtual |
Implements oops::CostJbState< MODEL >.
Definition at line 155 of file CostJb3D.h.
|
overridevirtual |
Multiply by \( B\) and \( B^{-1}\).
Implements oops::CostJbState< MODEL >.
Definition at line 148 of file CostJb3D.h.
|
overridevirtual |
Get increment from state (usually first guess).
Implements oops::CostJbState< MODEL >.
Definition at line 132 of file CostJb3D.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Empty AD Jq observer.
Implements oops::CostJbState< MODEL >.
Definition at line 81 of file CostJb3D.h.
|
inlineoverridevirtual |
Empty TL Jq observer.
Implements oops::CostJbState< MODEL >.
Definition at line 78 of file CostJb3D.h.
|
inlineoverridevirtual |
Implements oops::CostJbState< MODEL >.
Definition at line 66 of file CostJb3D.h.
|
overridevirtual |
Linearize before the linear computations.
Implements oops::CostJbState< MODEL >.
Definition at line 122 of file CostJb3D.h.
|
overridevirtual |
Implements oops::CostJbState< MODEL >.
Definition at line 172 of file CostJb3D.h.
|
inlineoverridevirtual |
Create new increment (set to 0).
Implements oops::CostJbState< MODEL >.
Definition at line 91 of file CostJb3D.h.
|
overridevirtual |
|
private |
Definition at line 96 of file CostJb3D.h.
|
private |
Definition at line 101 of file CostJb3D.h.
|
private |
Definition at line 98 of file CostJb3D.h.
|
private |
Definition at line 99 of file CostJb3D.h.
|
private |
Definition at line 100 of file CostJb3D.h.
|
private |
Definition at line 97 of file CostJb3D.h.
|
private |
Definition at line 95 of file CostJb3D.h.