FV3 Bundle
|
Base Class for Cost Function Terms. More...
#include <CostTermBase.h>
Public Member Functions | |
virtual | ~CostTermBase () |
Destructor. More... | |
virtual PostPtr_ | initialize (const ControlVariable< MODEL > &) const =0 |
Initialize before nonlinear model integration. More... | |
virtual PostPtrTLAD_ | initializeTraj (const ControlVariable< MODEL > &, const Geometry_ &, const eckit::Configuration &)=0 |
virtual double | finalize (const eckit::Configuration &) const =0 |
Finalize computation after nonlinear model integration. More... | |
virtual void | finalizeTraj ()=0 |
virtual PostPtrTLAD_ | setupTL (const ControlIncrement< MODEL > &) const =0 |
Initialize before starting the TL run. More... | |
virtual PostPtrTLAD_ | setupAD (boost::shared_ptr< const GeneralizedDepartures >, ControlIncrement< MODEL > &) const =0 |
Initialize before starting the AD run. More... | |
virtual GeneralizedDepartures * | multiplyCovar (const GeneralizedDepartures &) const =0 |
Multiply by covariance (or weight) matrix and its inverse. More... | |
virtual GeneralizedDepartures * | multiplyCoInv (const GeneralizedDepartures &) const =0 |
virtual GeneralizedDepartures * | newDualVector () const =0 |
Provide new dual space vector (for example a Departure for Jo). More... | |
virtual 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 boost::shared_ptr< PostBase< State_ > > | PostPtr_ |
typedef boost::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 >, and oops::CostJcDFI< MODEL >.
|
pure virtual |
Implemented in oops::CostJo< MODEL >, and oops::CostJcDFI< MODEL >.
|
pure virtual |
Initialize before nonlinear model integration.
Implemented in oops::CostJo< MODEL >, and oops::CostJcDFI< MODEL >.
|
pure virtual |
Implemented in oops::CostJo< MODEL >, and oops::CostJcDFI< MODEL >.
|
pure virtual |
Implemented in oops::CostJo< MODEL >, and oops::CostJcDFI< MODEL >.
|
pure virtual |
Multiply by covariance (or weight) matrix and its inverse.
Implemented in oops::CostJo< MODEL >, and oops::CostJcDFI< MODEL >.
|
pure virtual |
Provide new dual space vector (for example a Departure for Jo).
Implemented in oops::CostJo< MODEL >, and oops::CostJcDFI< MODEL >.
|
pure virtual |
Gradient at first guess.
Implemented in oops::CostJo< MODEL >, and oops::CostJcDFI< MODEL >.
|
pure virtual |
Reset trajectory.
Implemented in oops::CostJo< MODEL >, and oops::CostJcDFI< MODEL >.
|
pure virtual |
Initialize before starting the AD run.
Implemented in oops::CostJo< MODEL >, and oops::CostJcDFI< MODEL >.
|
pure virtual |
Initialize before starting the TL run.
Implemented in oops::CostJo< MODEL >, and oops::CostJcDFI< MODEL >.