OOPS
|
Base Class for Cost Function Terms. More...
#include <CostTermBase.h>
Public Member Functions | |
virtual | ~CostTermBase () |
Destructor. More... | |
virtual PostPtr_ | initialize (const ControlVariable< MODEL, OBS > &, const eckit::Configuration &)=0 |
Initialize before nonlinear model integration. More... | |
virtual PostPtrTLAD_ | initializeTraj (const ControlVariable< MODEL, OBS > &, const Geometry_ &, const eckit::Configuration &)=0 |
virtual double | finalize ()=0 |
Finalize computation after nonlinear model integration. More... | |
virtual void | finalizeTraj ()=0 |
virtual PostPtrTLAD_ | setupTL (const ControlIncrement< MODEL, OBS > &) const =0 |
Initialize before starting the TL run. More... | |
virtual PostPtrTLAD_ | setupAD (std::shared_ptr< const GeneralizedDepartures >, ControlIncrement< MODEL, OBS > &) const =0 |
Initialize before starting the AD run. More... | |
virtual std::unique_ptr< GeneralizedDepartures > | multiplyCovar (const GeneralizedDepartures &) const =0 |
Multiply by covariance (or weight) matrix and its inverse. More... | |
virtual std::unique_ptr< GeneralizedDepartures > | multiplyCoInv (const GeneralizedDepartures &) const =0 |
virtual std::unique_ptr< GeneralizedDepartures > | newDualVector () const =0 |
Provide new dual space vector (for example a Departure for Jo). More... | |
virtual std::unique_ptr< GeneralizedDepartures > | newGradientFG () const =0 |
Gradient at first guess. More... | |
virtual void | resetLinearization ()=0 |
Reset trajectory. More... | |
Private Types | |
typedef Geometry< MODEL > | Geometry_ |
typedef State< MODEL > | State_ |
typedef Increment< MODEL > | Increment_ |
typedef std::shared_ptr< PostBase< State_ > > | PostPtr_ |
typedef std::shared_ptr< PostBaseTLAD< MODEL > > | PostPtrTLAD_ |
Base Class for Cost Function Terms.
Abstract base class for the terms of the cost function.
Definition at line 37 of file CostTermBase.h.
|
private |
Definition at line 38 of file CostTermBase.h.
|
private |
Definition at line 40 of file CostTermBase.h.
|
private |
Definition at line 41 of file CostTermBase.h.
|
private |
Definition at line 42 of file CostTermBase.h.
|
private |
Definition at line 39 of file CostTermBase.h.
|
inlinevirtual |
Destructor.
Definition at line 46 of file CostTermBase.h.
|
pure virtual |
Finalize computation after nonlinear model integration.
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.
|
pure virtual |
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.
|
pure virtual |
Initialize before nonlinear model integration.
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.
|
pure virtual |
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.
|
pure virtual |
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.
|
pure virtual |
Multiply by covariance (or weight) matrix and its inverse.
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.
|
pure virtual |
Provide new dual space vector (for example a Departure for Jo).
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.
|
pure virtual |
Gradient at first guess.
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.
|
pure virtual |
Reset trajectory.
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.
|
pure virtual |
Initialize before starting the AD run.
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.
|
pure virtual |
Initialize before starting the TL run.
Implemented in oops::CostJo< MODEL, OBS >, and oops::CostJcDFI< MODEL, OBS >.