|
OOPS
|
Jb + Jq Cost Function. More...
#include <CostJbJq.h>


Public Member Functions | |
| CostJbJq (const eckit::Configuration &, const eckit::mpi::Comm &, const Geometry_ &, const Variables &, const State_ &) | |
| Construct \( J_b\). More... | |
| virtual | ~CostJbJq () |
| Destructor. More... | |
| void | computeIncrement (const State_ &, const State_ &, const State_ &, Increment_ &) const override |
| Get increment from state (usually first guess). More... | |
| void | linearize (const State_ &, const Geometry_ &) override |
| Linearize before the linear computations. More... | |
| void | addGradient (const Increment_ &, Increment_ &, Increment_ &) const override |
| Add Jb gradient. More... | |
| JqTermTLAD< MODEL > * | initializeJqTLAD () const override |
| Finalize \( J_q\) after the model run. More... | |
| JqTermTLAD< MODEL > * | initializeJqTL () const override |
| Finalize \( J_q\) after the TL run. More... | |
| JqTermTLAD< MODEL > * | initializeJqAD (const Increment_ &) const override |
| Initialize \( J_q\) forcing before the AD run. More... | |
| void | Bmult (const Increment_ &, Increment_ &) const override |
| Multiply by \( B\) and \( B^{-1}\). More... | |
| void | Bminv (const Increment_ &, Increment_ &) const override |
| void | randomize (Increment_ &) const override |
| Randomize. More... | |
| Increment_ * | newStateIncrement () const override |
| Create new increment (set to 0). More... | |
Public Member Functions inherited from oops::CostJbState< MODEL > | |
| CostJbState () | |
| Constructor. More... | |
| virtual | ~CostJbState () |
| Destructor. More... | |
Private Types | |
| typedef Geometry< MODEL > | Geometry_ |
| typedef Increment< MODEL > | Increment_ |
| typedef State< MODEL > | State_ |
Private Attributes | |
| std::unique_ptr< ModelSpaceCovarianceBase< MODEL > > | B_ |
| const State_ & | xb_ |
| const Variables | ctlvars_ |
| std::unique_ptr< const Geometry_ > | resol_ |
| const eckit::LocalConfiguration | conf_ |
| const eckit::mpi::Comm & | commTime_ |
| const bool | first_ |
Jb + Jq Cost Function.
CostJbJq encapsulates the generalized Jb term of the cost weak constraint 4D-Var function (ie Jb+Jq).
Definition at line 39 of file CostJbJq.h.
|
private |
Definition at line 40 of file CostJbJq.h.
|
private |
Definition at line 41 of file CostJbJq.h.
|
private |
Definition at line 42 of file CostJbJq.h.
| oops::CostJbJq< MODEL >::CostJbJq | ( | const eckit::Configuration & | config, |
| const eckit::mpi::Comm & | comm, | ||
| const Geometry_ & | resolouter, | ||
| const Variables & | ctlvars, | ||
| const State_ & | xb | ||
| ) |
Construct \( J_b\).
Definition at line 97 of file CostJbJq.h.
|
inlinevirtual |
Destructor.
Definition at line 50 of file CostJbJq.h.
|
overridevirtual |
|
overridevirtual |
Implements oops::CostJbState< MODEL >.
Definition at line 213 of file CostJbJq.h.
|
overridevirtual |
Multiply by \( B\) and \( B^{-1}\).
Implements oops::CostJbState< MODEL >.
Definition at line 204 of file CostJbJq.h.
|
overridevirtual |
Get increment from state (usually first guess).
Implements oops::CostJbState< MODEL >.
Definition at line 126 of file CostJbJq.h.

|
overridevirtual |
Initialize \( J_q\) forcing before the AD run.
Implements oops::CostJbState< MODEL >.
Definition at line 193 of file CostJbJq.h.

|
overridevirtual |
Finalize \( J_q\) after the TL run.
Implements oops::CostJbState< MODEL >.
Definition at line 183 of file CostJbJq.h.
|
overridevirtual |
Finalize \( J_q\) after the model run.
Implements oops::CostJbState< MODEL >.
Definition at line 175 of file CostJbJq.h.
|
overridevirtual |
Linearize before the linear computations.
Implements oops::CostJbState< MODEL >.
Definition at line 109 of file CostJbJq.h.

|
overridevirtual |
Create new increment (set to 0).
Implements oops::CostJbState< MODEL >.
Definition at line 231 of file CostJbJq.h.
|
overridevirtual |
|
private |
Definition at line 82 of file CostJbJq.h.
|
private |
Definition at line 87 of file CostJbJq.h.
|
private |
Definition at line 86 of file CostJbJq.h.
|
private |
Definition at line 84 of file CostJbJq.h.
|
private |
Definition at line 88 of file CostJbJq.h.
|
private |
Definition at line 85 of file CostJbJq.h.
|
private |
Definition at line 83 of file CostJbJq.h.