FV3 Bundle
qg/model/ModelBiasCovariance.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2009-2016 ECMWF.
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  * In applying this licence, ECMWF does not waive the privileges and immunities
7  * granted to it by virtue of its status as an intergovernmental organisation nor
8  * does it submit to any jurisdiction.
9  */
10 
11 #ifndef QG_MODEL_MODELBIASCOVARIANCE_H_
12 #define QG_MODEL_MODELBIASCOVARIANCE_H_
13 
14 #include <ostream>
15 #include <string>
16 #include <boost/noncopyable.hpp>
17 
18 #include "eckit/config/LocalConfiguration.h"
19 #include "oops/util/ObjectCounter.h"
20 #include "oops/util/Printable.h"
21 
22 namespace qg {
23  class ModelBias;
24  class ModelBiasIncrement;
25  class GeometryQG;
26 
27 // -----------------------------------------------------------------------------
28 
29 class ModelBiasCovariance : public util::Printable,
30  private boost::noncopyable,
31  private util::ObjectCounter<ModelBiasCovariance> {
32  public:
33  static const std::string classname() {return "qg::ModelBiasCovariance";}
34 
35 /// Constructor, destructor
36  ModelBiasCovariance(const eckit::Configuration & conf, const GeometryQG &): conf_(conf) {}
38 
39 /// Linear algebra operators
40  void linearize(const ModelBias &, const GeometryQG &) {}
43  void randomize(ModelBiasIncrement &) const {}
44 
45  const eckit::Configuration & config() const {return conf_;}
46 
47  private:
48  void print(std::ostream & os) const {}
49  const eckit::LocalConfiguration conf_;
50 };
51 
52 // -----------------------------------------------------------------------------
53 
54 } // namespace qg
55 
56 #endif // QG_MODEL_MODELBIASCOVARIANCE_H_
Model error for the QG model.
void inverseMultiply(const ModelBiasIncrement &, ModelBiasIncrement &) const
Definition: conf.py:1
const eckit::LocalConfiguration conf_
void multiply(const ModelBiasIncrement &, ModelBiasIncrement &) const
void print(std::ostream &os) const
void randomize(ModelBiasIncrement &) const
static const std::string classname()
GeometryQG handles geometry for QG model.
Definition: GeometryQG.h:33
ModelBiasCovariance(const eckit::Configuration &conf, const GeometryQG &)
Constructor, destructor.
const eckit::Configuration & config() const
void linearize(const ModelBias &, const GeometryQG &)
Linear algebra operators.
The namespace for the qg model.