|
FV3 Bundle
|
Jb + Jq Cost Function. More...
#include <CostJbJq.h>
Public Member Functions | |
| CostJbJq (const eckit::Configuration &, const Geometry_ &, const Variables &, const util::Duration &, const State4D_ &, const bool) | |
| Construct \( J_b\). More... | |
| virtual | ~CostJbJq () |
| Destructor. More... | |
| JqTerm< MODEL > * | initializeJq () const override |
| Finalize \( J_q\) after the model run. 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 |
| Finalize \( J_q\) after the TL run. More... | |
| JqTermTLAD< MODEL > * | initializeJqAD (const Increment4D_ &) const override |
| Initialize \( J_q\) forcing before the AD run. 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 State4D< MODEL > | State4D_ |
| typedef Increment4D< MODEL > | Increment4D_ |
| typedef ControlIncrement< MODEL > | CtrlInc_ |
| typedef Geometry< MODEL > | Geometry_ |
Private Attributes | |
| boost::ptr_vector< ModelSpaceCovarianceBase< MODEL > > | B_ |
| const State4D_ & | xb_ |
| const util::Duration | subwin_ |
| const bool | forcing_ |
| const Variables | ctlvars_ |
| boost::scoped_ptr< const Geometry_ > | resol_ |
| std::vector< util::DateTime > | times_ |
| const eckit::LocalConfiguration | conf_ |
Jb + Jq Cost Function.
CostJbJq encapsulates the generalized Jb term of the cost weak constraint 4D-Var function (ie Jb+Jq).
Definition at line 45 of file CostJbJq.h.
|
private |
Definition at line 49 of file CostJbJq.h.
|
private |
Definition at line 50 of file CostJbJq.h.
|
private |
Definition at line 48 of file CostJbJq.h.
|
private |
Definition at line 46 of file CostJbJq.h.
|
private |
Definition at line 47 of file CostJbJq.h.
| oops::CostJbJq< MODEL >::CostJbJq | ( | const eckit::Configuration & | config, |
| const Geometry_ & | resolouter, | ||
| const Variables & | ctlvars, | ||
| const util::Duration & | len, | ||
| const State4D_ & | xb, | ||
| const bool | forcing | ||
| ) |
Construct \( J_b\).
Definition at line 107 of file CostJbJq.h.
|
inlinevirtual |
Destructor.
Definition at line 58 of file CostJbJq.h.
|
overridevirtual |
|
overridevirtual |
Implements oops::CostJbState< MODEL >.
Definition at line 224 of file CostJbJq.h.
|
overridevirtual |
Multiply by \( B\) and \( B^{-1}\).
Implements oops::CostJbState< MODEL >.
Definition at line 198 of file CostJbJq.h.
|
overridevirtual |
Get increment from state (usually first guess).
Implements oops::CostJbState< MODEL >.
Definition at line 137 of file CostJbJq.h.
|
overridevirtual |
Finalize \( J_q\) after the model run.
Implements oops::CostJbState< MODEL >.
Definition at line 163 of file CostJbJq.h.
|
overridevirtual |
Initialize \( J_q\) forcing before the AD run.
Implements oops::CostJbState< MODEL >.
Definition at line 186 of file CostJbJq.h.
|
overridevirtual |
Finalize \( J_q\) after the TL run.
Implements oops::CostJbState< MODEL >.
Definition at line 177 of file CostJbJq.h.
|
overridevirtual |
Implements oops::CostJbState< MODEL >.
Definition at line 170 of file CostJbJq.h.
|
overridevirtual |
Linearize before the linear computations.
Implements oops::CostJbState< MODEL >.
Definition at line 119 of file CostJbJq.h.
|
overridevirtual |
Implements oops::CostJbState< MODEL >.
Definition at line 244 of file CostJbJq.h.
|
inlineoverridevirtual |
Create new increment (set to 0).
Implements oops::CostJbState< MODEL >.
Definition at line 87 of file CostJbJq.h.
|
overridevirtual |
|
private |
Definition at line 91 of file CostJbJq.h.
|
private |
Definition at line 98 of file CostJbJq.h.
|
private |
Definition at line 95 of file CostJbJq.h.
|
private |
Definition at line 94 of file CostJbJq.h.
|
private |
Definition at line 96 of file CostJbJq.h.
|
private |
Definition at line 93 of file CostJbJq.h.
|
private |
Definition at line 97 of file CostJbJq.h.
|
private |
Definition at line 92 of file CostJbJq.h.