16 #include "eckit/config/Configuration.h"
19 #include "oops/util/Logger.h"
25 : bias_(0.0), active_(conf.
has(
"standard_deviation"))
28 oops::Log::trace() <<
"ModelBiasCorrection::ModelBiasCorrection created." << std::endl;
34 : bias_(0.0), active_(other.active_)
40 const eckit::Configuration &)
41 : bias_(0.0), active_(other.active_)
93 vect.push_back(
bias_);
97 bias_ = vect.at(index);
102 if (
active_) {os << std::endl <<
"ModelBiasCorrection = " <<
bias_;}
void serialize(std::vector< double > &) const override
ModelBiasCorrection & operator+=(const ModelBiasCorrection &)
void deserialize(const std::vector< double > &, size_t &) override
void print(std::ostream &) const override
void axpy(const double, const ModelBiasCorrection &)
ModelBiasCorrection & operator*=(const double)
ModelBiasCorrection(const Resolution &, const eckit::Configuration &)
Constructor, destructor.
double dot_product_with(const ModelBiasCorrection &) const
size_t serialSize() const override
Serialize and deserialize.
void diff(const ModelBias &, const ModelBias &)
Linear algebra operators.
ModelBiasCorrection & operator=(const ModelBiasCorrection &)
ModelBiasCorrection & operator-=(const ModelBiasCorrection &)
Model error for Lorenz 95 model.
const double & bias() const
The namespace for the L95 model.
logical function has(this, var)