FV3 Bundle
|
Compute time average of states or increments during linear model run. More...
#include <WeightedDiffTLAD.h>
Public Member Functions | |
WeightedDiffTLAD (const eckit::Configuration &, const util::DateTime &, const util::Duration &, const util::Duration &, const Geometry_ &, WeightingFct &) | |
virtual | ~WeightedDiffTLAD () |
Increment_ * | releaseDiff () |
Increment_ * | releaseOutputFromTL () override |
Return TL dual space output. More... | |
void | setupTL (const Geometry_ &) |
void | setupAD (boost::shared_ptr< const Increment_ >) |
Public Member Functions inherited from oops::PostBaseTLAD< MODEL > | |
PostBaseTLAD () | |
PostBaseTLAD (const util::DateTime &start, const util::DateTime &finish, const util::Duration &freq=util::Duration(0)) | |
virtual | ~PostBaseTLAD () |
void | initializeTraj (const State_ &xx, const util::DateTime &end, const util::Duration &step) |
Set linearization state. More... | |
void | processTraj (const State_ &xx) |
void | finalizeTraj (const State_ &xx) |
void | initializeTL (const Increment_ &dx, const util::DateTime &end, const util::Duration &step) |
Tangent linear methods. More... | |
void | processTL (const Increment_ &dx) |
void | finalizeTL (const Increment_ &dx) |
void | initializeAD (Increment_ &dx, const util::DateTime &bgn, const util::Duration &step) |
Adjoint methods. More... | |
void | processAD (Increment_ &dx) |
void | finalizeAD (Increment_ &dx) |
Private Types | |
typedef Geometry< MODEL > | Geometry_ |
typedef Increment< MODEL > | Increment_ |
typedef State< MODEL > | State_ |
Private Member Functions | |
void | doInitializeTraj (const State_ &, const util::DateTime &, const util::Duration &) override |
void | doProcessingTraj (const State_ &) override |
void | doFinalizeTraj (const State_ &) override |
void | doInitializeTL (const Increment_ &, const util::DateTime &, const util::Duration &) override |
void | doProcessingTL (const Increment_ &) override |
void | doFinalizeTL (const Increment_ &) override |
void | doFirstAD (Increment_ &, const util::DateTime &, const util::Duration &) override |
void | doProcessingAD (Increment_ &) override |
void | doLastAD (Increment_ &) override |
Private Attributes | |
const eckit::LocalConfiguration | conf_ |
WeightingFct & | wfct_ |
WeightedDiff< MODEL, Increment_, State_ > | wdiff_ |
std::map< util::DateTime, double > | weights_ |
boost::shared_ptr< const Increment_ > | forcing_ |
Accumulator< MODEL, Increment_, Increment_ > * | avg_ |
double | sum_ |
bool | linit_ |
const util::DateTime | vtime_ |
const util::DateTime | bgn_ |
const util::DateTime | end_ |
util::Duration | tstep_ |
util::DateTime | bgnleg_ |
util::DateTime | endleg_ |
Compute time average of states or increments during linear model run.
Derived classes will compute different types of averages (plain mean, various types of digital filters) by overwriting the weights computation method.
A lot of code here is common with WeightedDiff and even WeightedMean, the design could be improved to reduce code duplication. YT
Definition at line 47 of file WeightedDiffTLAD.h.
|
private |
Definition at line 48 of file WeightedDiffTLAD.h.
|
private |
Definition at line 49 of file WeightedDiffTLAD.h.
|
private |
Definition at line 50 of file WeightedDiffTLAD.h.
oops::WeightedDiffTLAD< MODEL >::WeightedDiffTLAD | ( | const eckit::Configuration & | config, |
const util::DateTime & | vt, | ||
const util::Duration & | span, | ||
const util::Duration & | tstep, | ||
const Geometry_ & | resol, | ||
WeightingFct & | wfct | ||
) |
Definition at line 96 of file WeightedDiffTLAD.h.
|
inlinevirtual |
Definition at line 55 of file WeightedDiffTLAD.h.
|
inlineoverrideprivatevirtual |
Implements oops::PostBaseTLAD< MODEL >.
Definition at line 71 of file WeightedDiffTLAD.h.
|
overrideprivatevirtual |
Implements oops::PostBaseTLAD< MODEL >.
Definition at line 133 of file WeightedDiffTLAD.h.
|
overrideprivatevirtual |
Implements oops::PostBaseTLAD< MODEL >.
Definition at line 210 of file WeightedDiffTLAD.h.
|
overrideprivatevirtual |
Implements oops::PostBaseTLAD< MODEL >.
Definition at line 152 of file WeightedDiffTLAD.h.
|
overrideprivatevirtual |
Implements oops::PostBaseTLAD< MODEL >.
Definition at line 114 of file WeightedDiffTLAD.h.
|
inlineoverrideprivatevirtual |
Implements oops::PostBaseTLAD< MODEL >.
Definition at line 75 of file WeightedDiffTLAD.h.
|
overrideprivatevirtual |
Implements oops::PostBaseTLAD< MODEL >.
Definition at line 232 of file WeightedDiffTLAD.h.
|
overrideprivatevirtual |
Implements oops::PostBaseTLAD< MODEL >.
Definition at line 174 of file WeightedDiffTLAD.h.
|
overrideprivatevirtual |
Implements oops::PostBaseTLAD< MODEL >.
Definition at line 124 of file WeightedDiffTLAD.h.
|
inline |
Definition at line 57 of file WeightedDiffTLAD.h.
|
overridevirtual |
Return TL dual space output.
Implements oops::PostBaseTLAD< MODEL >.
Definition at line 190 of file WeightedDiffTLAD.h.
void oops::WeightedDiffTLAD< MODEL >::setupAD | ( | boost::shared_ptr< const Increment_ > | forcing | ) |
Definition at line 200 of file WeightedDiffTLAD.h.
void oops::WeightedDiffTLAD< MODEL >::setupTL | ( | const Geometry_ & | resol | ) |
Definition at line 142 of file WeightedDiffTLAD.h.
|
private |
Definition at line 82 of file WeightedDiffTLAD.h.
|
private |
Definition at line 86 of file WeightedDiffTLAD.h.
|
private |
Definition at line 89 of file WeightedDiffTLAD.h.
|
private |
Definition at line 77 of file WeightedDiffTLAD.h.
|
private |
Definition at line 87 of file WeightedDiffTLAD.h.
|
private |
Definition at line 90 of file WeightedDiffTLAD.h.
|
private |
Definition at line 81 of file WeightedDiffTLAD.h.
|
private |
Definition at line 84 of file WeightedDiffTLAD.h.
|
private |
Definition at line 83 of file WeightedDiffTLAD.h.
|
private |
Definition at line 88 of file WeightedDiffTLAD.h.
|
private |
Definition at line 85 of file WeightedDiffTLAD.h.
|
private |
Definition at line 79 of file WeightedDiffTLAD.h.
|
private |
Definition at line 80 of file WeightedDiffTLAD.h.
|
private |
Definition at line 78 of file WeightedDiffTLAD.h.