|
FV3 Bundle
|
Strong Constraint 4D-Var Cost Function. More...
#include <CostFct4DVar.h>
Public Member Functions | |
| CostFct4DVar (const eckit::Configuration &, const Geometry_ &, const Model_ &) | |
| ~CostFct4DVar () | |
| void | runTLM (CtrlInc_ &, PostProcessorTLAD< MODEL > &, PostProcessor< Increment_ >, const bool idModel=false) const override |
| void | runADJ (CtrlInc_ &, PostProcessorTLAD< MODEL > &, PostProcessor< Increment_ >, const bool idModel=false) 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_ |
| 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 |
Strong Constraint 4D-Var Cost Function.
This class is not really necessary since it is only a special case of the more general weak constraint 4D-Var cost function with one sub-window. It is provided for readability.
Definition at line 44 of file CostFct4DVar.h.
|
private |
Definition at line 52 of file CostFct4DVar.h.
|
private |
Definition at line 48 of file CostFct4DVar.h.
|
private |
Definition at line 46 of file CostFct4DVar.h.
|
private |
Definition at line 47 of file CostFct4DVar.h.
|
private |
Definition at line 49 of file CostFct4DVar.h.
|
private |
Definition at line 45 of file CostFct4DVar.h.
|
private |
Definition at line 51 of file CostFct4DVar.h.
|
private |
Definition at line 50 of file CostFct4DVar.h.
| oops::CostFct4DVar< MODEL >::CostFct4DVar | ( | const eckit::Configuration & | config, |
| const Geometry_ & | resol, | ||
| const Model_ & | model | ||
| ) |
|
inline |
Definition at line 56 of file CostFct4DVar.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 198 of file CostFct4DVar.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 144 of file CostFct4DVar.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 103 of file CostFct4DVar.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 120 of file CostFct4DVar.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 113 of file CostFct4DVar.h.
|
overridevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 183 of file CostFct4DVar.h.
|
overridevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 130 of file CostFct4DVar.h.
|
overridevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 159 of file CostFct4DVar.h.
|
overridevirtual |
Implements oops::CostFunction< MODEL >.
Definition at line 174 of file CostFct4DVar.h.
|
private |
Definition at line 82 of file CostFct4DVar.h.
|
private |
Definition at line 81 of file CostFct4DVar.h.
|
private |
Definition at line 79 of file CostFct4DVar.h.
|
private |
Definition at line 80 of file CostFct4DVar.h.
|
private |
Definition at line 78 of file CostFct4DVar.h.