FV3 Bundle
|
3D-Var Cost Function More...
#include <CostFct3DVar.h>
Public Member Functions | |
CostFct3DVar (const eckit::Configuration &, const Geometry_ &, const Model_ &) | |
virtual | ~CostFct3DVar () |
void | runTLM (CtrlInc_ &, PostProcessorTLAD< MODEL > &, PostProcessor< Increment_ >, const bool) const override |
void | runADJ (CtrlInc_ &, PostProcessorTLAD< MODEL > &, PostProcessor< Increment_ >, const bool) const override |
void | zeroAD (CtrlInc_ &) const override |
void | runNL (CtrlVar_ &, PostProcessor< State_ > &) const override |
Public Member Functions inherited from oops::CostFunction< MODEL > | |
CostFunction (const eckit::Configuration &, const Geometry_ &, const Model_ &) | |
virtual | ~CostFunction () |
double | evaluate (const CtrlVar_ &, const eckit::Configuration &config=eckit::LocalConfiguration(), PostProcessor< State_ > post=PostProcessor< State_ >()) const |
double | linearize (const CtrlVar_ &, const eckit::Configuration &, PostProcessor< State_ > post=PostProcessor< State_ >()) |
void | addIncrement (CtrlVar_ &, const CtrlInc_ &, PostProcessor< Increment_ > post=PostProcessor< Increment_ >()) const |
void | resetLinearization () |
void | computeGradientFG (CtrlInc_ &) const |
Compute cost function gradient at first guess (without Jb). More... | |
const JbTotal_ & | jb () const |
Access \( J_b\). More... | |
const CostBase_ & | jterm (const unsigned ii) const |
Access terms of the cost function other than \( J_b\). More... | |
unsigned | nterms () const |
const double | getCostJb () const |
const double | getCostJoJc () const |
Private Types | |
typedef Increment< MODEL > | Increment_ |
typedef ControlIncrement< MODEL > | CtrlInc_ |
typedef ControlVariable< MODEL > | CtrlVar_ |
typedef CostFunction< MODEL > | CostFct_ |
typedef Geometry< MODEL > | Geometry_ |
typedef State< MODEL > | State_ |
typedef Model< MODEL > | Model_ |
typedef LinearVariableChangeBase< MODEL > | ChangeVar_ |
Private Member Functions | |
void | addIncr (CtrlVar_ &, const CtrlInc_ &, PostProcessor< Increment_ > &) const override |
CostJb3D< MODEL > * | newJb (const eckit::Configuration &, const Geometry_ &, const CtrlVar_ &) const override |
CostJo< MODEL > * | newJo (const eckit::Configuration &) const override |
CostTermBase< MODEL > * | newJc (const eckit::Configuration &, const Geometry_ &) const override |
void | doLinearize (const Geometry_ &, const eckit::Configuration &, const CtrlVar_ &, const CtrlVar_ &) override |
Private Attributes | |
util::Duration | windowLength_ |
util::DateTime | windowBegin_ |
util::DateTime | windowEnd_ |
util::DateTime | windowHalf_ |
util::Duration | zero_ |
const Variables | ctlvars_ |
boost::scoped_ptr< ChangeVar_ > | an2model_ |
Additional Inherited Members | |
Protected Member Functions inherited from oops::CostFunction< MODEL > | |
void | setupTerms (const eckit::Configuration &) |
const Model_ & | getModel () const |
const LinearModel_ & | getTLM (const unsigned isub=0) const |
3D-Var Cost Function
This class is not really necessary since it is only a special case of the more general 4D-Var cost function. It is provided for readability.
Definition at line 42 of file CostFct3DVar.h.
|
private |
Definition at line 50 of file CostFct3DVar.h.
|
private |
Definition at line 46 of file CostFct3DVar.h.
|
private |
Definition at line 44 of file CostFct3DVar.h.
|
private |
Definition at line 45 of file CostFct3DVar.h.
|
private |
Definition at line 47 of file CostFct3DVar.h.
|
private |
Definition at line 43 of file CostFct3DVar.h.
|
private |
Definition at line 49 of file CostFct3DVar.h.
|
private |
Definition at line 48 of file CostFct3DVar.h.
oops::CostFct3DVar< MODEL >::CostFct3DVar | ( | const eckit::Configuration & | config, |
const Geometry_ & | resol, | ||
const Model_ & | model | ||
) |
|
inlinevirtual |
Definition at line 54 of file CostFct3DVar.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 209 of file CostFct3DVar.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 149 of file CostFct3DVar.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 103 of file CostFct3DVar.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 122 of file CostFct3DVar.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 114 of file CostFct3DVar.h.
|
overridevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 192 of file CostFct3DVar.h.
|
overridevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 133 of file CostFct3DVar.h.
|
overridevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 164 of file CostFct3DVar.h.
|
overridevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 181 of file CostFct3DVar.h.
|
private |
Definition at line 80 of file CostFct3DVar.h.
|
private |
Definition at line 79 of file CostFct3DVar.h.
|
private |
Definition at line 75 of file CostFct3DVar.h.
|
private |
Definition at line 76 of file CostFct3DVar.h.
|
private |
Definition at line 77 of file CostFct3DVar.h.
|
private |
Definition at line 74 of file CostFct3DVar.h.
|
private |
Definition at line 78 of file CostFct3DVar.h.