FV3 Bundle
|
Compute time average of states or increments during model run. More...
#include <WeightedMean.h>
Public Member Functions | |
WeightedMean (const util::DateTime &, const util::Duration &, const Geometry_ &, const eckit::Configuration &) | |
virtual | ~WeightedMean () |
FLDS * | releaseMean () |
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 | |
boost::scoped_ptr< WeightingFct > | wfct_ |
std::map< util::DateTime, double > | weights_ |
Accumulator< MODEL, FLDS, FLDS > * | avg_ |
double | sum_ |
bool | linit_ |
const util::DateTime | bgn_ |
const util::DateTime | end_ |
util::DateTime | endleg_ |
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 39 of file WeightedMean.h.
|
private |
Definition at line 40 of file WeightedMean.h.
oops::WeightedMean< MODEL, FLDS >::WeightedMean | ( | const util::DateTime & | vt, |
const util::Duration & | span, | ||
const Geometry_ & | resol, | ||
const eckit::Configuration & | config | ||
) |
Definition at line 68 of file WeightedMean.h.
|
inlinevirtual |
Definition at line 45 of file WeightedMean.h.
|
overrideprivatevirtual |
Reimplemented from oops::PostBase< FLDS >.
Definition at line 94 of file WeightedMean.h.
|
overrideprivatevirtual |
Actual processing.
Implements oops::PostBase< FLDS >.
Definition at line 108 of file WeightedMean.h.
FLDS * oops::WeightedMean< MODEL, FLDS >::releaseMean | ( | ) |
Definition at line 85 of file WeightedMean.h.
|
private |
Definition at line 57 of file WeightedMean.h.
|
private |
Definition at line 60 of file WeightedMean.h.
|
private |
Definition at line 61 of file WeightedMean.h.
|
private |
Definition at line 62 of file WeightedMean.h.
|
private |
Definition at line 59 of file WeightedMean.h.
|
private |
Definition at line 58 of file WeightedMean.h.
|
private |
Definition at line 55 of file WeightedMean.h.
|
private |
Definition at line 54 of file WeightedMean.h.