FV3 Bundle
|
Compute time average of states or increments during model run. More...
#include <WeightedDiff.h>
Public Member Functions | |
WeightedDiff (const eckit::Configuration &, const util::DateTime &, const util::Duration &, const util::Duration &, const Geometry_ &, WeightingFct &) | |
virtual | ~WeightedDiff () |
INCR * | releaseDiff () |
Public Member Functions inherited from oops::PostBase< FLDS > | |
PostBase () | |
Constructors and basic operators. More... | |
PostBase (const util::Duration &freq) | |
PostBase (const eckit::Configuration &conf) | |
PostBase (const util::DateTime &start, const eckit::Configuration &conf) | |
PostBase (const util::DateTime &start, const util::DateTime &finish, const util::Duration &freq=util::Duration(0)) | |
virtual | ~PostBase () |
void | initialize (const FLDS &xx, const util::DateTime &end, const util::Duration &tstep) |
Setup. More... | |
void | process (const FLDS &xx) |
Process state or increment. More... | |
void | finalize (const FLDS &xx) |
Final. More... | |
Private Types | |
typedef Geometry< MODEL > | Geometry_ |
Private Member Functions | |
void | doInitialize (const FLDS &, const util::DateTime &, const util::Duration &) override |
void | doProcessing (const FLDS &) override |
Actual processing. More... | |
Private Attributes | |
WeightingFct & | wfct_ |
std::map< util::DateTime, double > | weights_ |
Accumulator< MODEL, INCR, FLDS > * | 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_ |
util::DateTime | current_ |
Compute time average of states or increments during model run.
Derived classes will compute different types of averages (plain mean, various types of digital filters) by overwriting the weights computation method.
Definition at line 41 of file WeightedDiff.h.
|
private |
Definition at line 42 of file WeightedDiff.h.
oops::WeightedDiff< MODEL, INCR, FLDS >::WeightedDiff | ( | const eckit::Configuration & | config, |
const util::DateTime & | vt, | ||
const util::Duration & | span, | ||
const util::Duration & | tstep, | ||
const Geometry_ & | resol, | ||
WeightingFct & | wfct | ||
) |
Definition at line 72 of file WeightedDiff.h.
|
inlinevirtual |
Definition at line 47 of file WeightedDiff.h.
|
overrideprivatevirtual |
Reimplemented from oops::PostBase< FLDS >.
Definition at line 102 of file WeightedDiff.h.
|
overrideprivatevirtual |
Actual processing.
Implements oops::PostBase< FLDS >.
Definition at line 125 of file WeightedDiff.h.
INCR * oops::WeightedDiff< MODEL, INCR, FLDS >::releaseDiff | ( | ) |
Definition at line 90 of file WeightedDiff.h.
|
private |
Definition at line 57 of file WeightedDiff.h.
|
private |
Definition at line 61 of file WeightedDiff.h.
|
private |
Definition at line 64 of file WeightedDiff.h.
|
private |
Definition at line 66 of file WeightedDiff.h.
|
private |
Definition at line 62 of file WeightedDiff.h.
|
private |
Definition at line 65 of file WeightedDiff.h.
|
private |
Definition at line 59 of file WeightedDiff.h.
|
private |
Definition at line 58 of file WeightedDiff.h.
|
private |
Definition at line 63 of file WeightedDiff.h.
|
private |
Definition at line 60 of file WeightedDiff.h.
|
private |
Definition at line 56 of file WeightedDiff.h.
|
private |
Definition at line 55 of file WeightedDiff.h.