|
OOPS
|
Weak Constraint 4D-Var Cost Function. More...
#include <CostFctWeak.h>


Public Member Functions | |
| CostFctWeak (const eckit::Configuration &, const eckit::mpi::Comm &) | |
| ~CostFctWeak () | |
| 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 | runTLM (CtrlInc_ &, const bool idModel=false) const |
| void | runADJ (CtrlInc_ &, const bool idModel=false) const |
| void | runNL (CtrlVar_ &, PostProcessor< State_ > &) const override |
Public Member Functions inherited from oops::CostFunction< MODEL, OBS > | |
| CostFunction (const eckit::Configuration &) | |
| virtual | ~CostFunction () |
| double | evaluate (const CtrlVar_ &, const eckit::Configuration &config=eckit::LocalConfiguration(), PostProcessor< State_ > post=PostProcessor< State_ >()) |
| 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 size_t ii) const |
| Access terms of the cost function other than \( J_b\). More... | |
| size_t | nterms () const |
| double | getCostJb () const |
| double | getCostJoJc () const |
Private Types | |
| typedef Increment< MODEL > | Increment_ |
| typedef ControlIncrement< MODEL, OBS > | CtrlInc_ |
| typedef ControlVariable< MODEL, OBS > | CtrlVar_ |
| typedef CostFunction< MODEL, OBS > | CostFct_ |
| typedef Geometry< MODEL > | Geometry_ |
| typedef State< MODEL > | State_ |
| typedef Model< MODEL > | Model_ |
| typedef LinearModel< MODEL > | LinearModel_ |
| typedef VariableChange< MODEL > | VarCha_ |
| typedef LinearVariableChangeBase< MODEL > | LinVarCha_ |
Private Member Functions | |
| void | addIncr (CtrlVar_ &, const CtrlInc_ &, PostProcessor< Increment_ > &) const override |
| CostJbJq< MODEL > * | newJb (const eckit::Configuration &, const Geometry_ &, const CtrlVar_ &) const override |
| CostJo< MODEL, OBS > * | newJo (const eckit::Configuration &) const override |
| CostTermBase< MODEL, OBS > * | newJc (const eckit::Configuration &, const Geometry_ &) const override |
| void | doLinearize (const Geometry_ &, const eckit::Configuration &, const CtrlVar_ &, const CtrlVar_ &, PostProcessor< State_ > &, PostProcessorTLAD< MODEL > &) override |
| const Geometry_ & | geometry () const override |
Private Attributes | |
| util::Duration | subWinLength_ |
| util::DateTime | subWinBegin_ |
| util::DateTime | subWinEnd_ |
| size_t | nsubwin_ |
| size_t | mysubwin_ |
| std::unique_ptr< Geometry_ > | resol_ |
| std::unique_ptr< Model_ > | model_ |
| const Variables | ctlvars_ |
| std::shared_ptr< LinearModel_ > | tlm_ |
| std::unique_ptr< VarCha_ > | an2model_ |
| std::unique_ptr< LinVarCha_ > | inc2model_ |
| eckit::mpi::Comm * | commSpace_ |
| eckit::mpi::Comm * | commTime_ |
Additional Inherited Members | |
Protected Member Functions inherited from oops::CostFunction< MODEL, OBS > | |
| void | setupTerms (const eckit::Configuration &) |
| const CtrlVar_ & | background () const |
Weak Constraint 4D-Var Cost Function.
General weak constraint constraint 4D-Var cost function.
Definition at line 53 of file CostFctWeak.h.
|
private |
Definition at line 57 of file CostFctWeak.h.
|
private |
Definition at line 55 of file CostFctWeak.h.
|
private |
Definition at line 56 of file CostFctWeak.h.
|
private |
Definition at line 58 of file CostFctWeak.h.
|
private |
Definition at line 54 of file CostFctWeak.h.
|
private |
Definition at line 61 of file CostFctWeak.h.
|
private |
Definition at line 63 of file CostFctWeak.h.
|
private |
Definition at line 60 of file CostFctWeak.h.
|
private |
Definition at line 59 of file CostFctWeak.h.
|
private |
Definition at line 62 of file CostFctWeak.h.
| oops::CostFctWeak< MODEL, OBS >::CostFctWeak | ( | const eckit::Configuration & | config, |
| const eckit::mpi::Comm & | comm | ||
| ) |
|
inline |
Definition at line 67 of file CostFctWeak.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL, OBS >.
Definition at line 317 of file CostFctWeak.h.

|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL, OBS >.
Definition at line 201 of file CostFctWeak.h.

|
inlineoverrideprivatevirtual |
Implements oops::CostFunction< MODEL, OBS >.
Definition at line 91 of file CostFctWeak.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL, OBS >.
Definition at line 160 of file CostFctWeak.h.

|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL, OBS >.
Definition at line 177 of file CostFctWeak.h.
|
overrideprivatevirtual |
Implements oops::CostFunction< MODEL, OBS >.
Definition at line 169 of file CostFctWeak.h.
| void oops::CostFctWeak< MODEL, OBS >::runADJ | ( | CtrlInc_ & | dx, |
| const bool | idModel = false |
||
| ) | const |
|
overridevirtual |
Implements oops::CostFunction< MODEL, OBS >.
Definition at line 274 of file CostFctWeak.h.

|
overridevirtual |
Implements oops::CostFunction< MODEL, OBS >.
Definition at line 187 of file CostFctWeak.h.

| void oops::CostFctWeak< MODEL, OBS >::runTLM | ( | CtrlInc_ & | dx, |
| const bool | idModel = false |
||
| ) | const |
|
overridevirtual |
Implements oops::CostFunction< MODEL, OBS >.
Definition at line 222 of file CostFctWeak.h.

|
overridevirtual |
Implements oops::CostFunction< MODEL, OBS >.
Definition at line 265 of file CostFctWeak.h.

|
private |
Definition at line 102 of file CostFctWeak.h.
|
private |
Definition at line 104 of file CostFctWeak.h.
|
private |
Definition at line 105 of file CostFctWeak.h.
|
private |
Definition at line 100 of file CostFctWeak.h.
|
private |
Definition at line 103 of file CostFctWeak.h.
|
private |
Definition at line 99 of file CostFctWeak.h.
|
private |
Definition at line 97 of file CostFctWeak.h.
|
private |
Definition at line 96 of file CostFctWeak.h.
|
private |
Definition at line 98 of file CostFctWeak.h.
|
private |
Definition at line 94 of file CostFctWeak.h.
|
private |
Definition at line 95 of file CostFctWeak.h.
|
private |
Definition at line 93 of file CostFctWeak.h.
|
private |
Definition at line 101 of file CostFctWeak.h.