FV3 Bundle
|
Jb Cost Function Base Class. More...
#include <CostJbState.h>
Public Member Functions | |
CostJbState () | |
Constructor. More... | |
virtual | ~CostJbState () |
Destructor. More... | |
virtual JqTerm< MODEL > * | initializeJq () const =0 |
Initialize Jq computations if needed. More... | |
virtual JqTermTLAD< MODEL > * | initializeJqTLAD () const =0 |
virtual void | computeIncrement (const State4D_ &, const State4D_ &, Increment4D_ &) const =0 |
Get increment from state (usually first guess). More... | |
virtual void | linearize (const State4D_ &, const Geometry_ &)=0 |
Linearize before the linear computations. More... | |
virtual void | addGradient (const Increment4D_ &, Increment4D_ &, Increment4D_ &) const =0 |
Add Jb gradient. More... | |
virtual JqTermTLAD< MODEL > * | initializeJqTL () const =0 |
Finalize \( J_b\) after the TL run. More... | |
virtual JqTermTLAD< MODEL > * | initializeJqAD (const Increment4D_ &) const =0 |
Initialize \( J_b\) before the AD run. More... | |
virtual void | Bmult (const Increment4D_ &, Increment4D_ &) const =0 |
Multiply by \( B\) and \( B^{-1}\). More... | |
virtual void | Bminv (const Increment4D_ &, Increment4D_ &) const =0 |
virtual void | randomize (Increment4D_ &) const =0 |
Randomize. More... | |
virtual unsigned int | nstates () const =0 |
Create new increment (set to 0). More... | |
virtual Increment_ * | newStateIncrement (const unsigned int) const =0 |
Private Types | |
typedef Increment< MODEL > | Increment_ |
typedef ControlIncrement< MODEL > | CtrlInc_ |
typedef State4D< MODEL > | State4D_ |
typedef Increment4D< MODEL > | Increment4D_ |
typedef Geometry< MODEL > | Geometry_ |
Jb Cost Function Base Class.
The CostJbState is the base class for the Jb term corresponding to the state part (3D or 4D) of the control variable.
Definition at line 41 of file CostJbState.h.
|
private |
Definition at line 43 of file CostJbState.h.
|
private |
Definition at line 46 of file CostJbState.h.
|
private |
Definition at line 45 of file CostJbState.h.
|
private |
Definition at line 42 of file CostJbState.h.
|
private |
Definition at line 44 of file CostJbState.h.
|
inline |
Constructor.
Definition at line 50 of file CostJbState.h.
|
inlinevirtual |
Destructor.
Definition at line 53 of file CostJbState.h.
|
pure virtual |
Add Jb gradient.
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Multiply by \( B\) and \( B^{-1}\).
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Get increment from state (usually first guess).
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Initialize Jq computations if needed.
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Initialize \( J_b\) before the AD run.
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Finalize \( J_b\) after the TL run.
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Linearize before the linear computations.
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Create new increment (set to 0).
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.
|
pure virtual |
Randomize.
Implemented in oops::CostJb3D< MODEL >, oops::CostJb4D< MODEL >, and oops::CostJbJq< MODEL >.