FV3 Bundle
ufo/src/ufo/ObsBiasCovariance.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2017-2018 UCAR
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  */
7 
8 #ifndef UFO_OBSBIASCOVARIANCE_H_
9 #define UFO_OBSBIASCOVARIANCE_H_
10 
11 #include <ostream>
12 #include <string>
13 #include <boost/noncopyable.hpp>
14 
15 #include "oops/util/ObjectCounter.h"
16 #include "oops/util/Printable.h"
17 
18 namespace eckit {
19  class Configuration;
20 }
21 
22 namespace ufo {
23  class ObsBias;
24  class ObsBiasIncrement;
25 
26 // -----------------------------------------------------------------------------
27 
28 class ObsBiasCovariance : public util::Printable,
29  private boost::noncopyable,
30  private util::ObjectCounter<ObsBiasCovariance> {
31  public:
32  static const std::string classname() {return "ufo::ObsBiasCovariance";}
33 
34 /// Constructor, destructor
35  explicit ObsBiasCovariance(const eckit::Configuration &) {}
37 
38 /// Linear algebra operators
39  void linearize(const ObsBias &) {}
40  void multiply(const ObsBiasIncrement &, ObsBiasIncrement &) const {}
42  void randomize(ObsBiasIncrement &) const {}
43 
44  const eckit::Configuration & config() const {return conf_;}
45 
46  private:
47  void print(std::ostream &) const {}
48  const eckit::LocalConfiguration conf_;
49 };
50 
51 // -----------------------------------------------------------------------------
52 
53 } // namespace ufo
54 
55 #endif // UFO_OBSBIASCOVARIANCE_H_
void inverseMultiply(const ObsBiasIncrement &, ObsBiasIncrement &) const
const eckit::LocalConfiguration conf_
void randomize(ObsBiasIncrement &) const
void linearize(const ObsBias &)
Linear algebra operators.
const eckit::Configuration & config() const
void print(std::ostream &) const
static const std::string classname()
ObsBiasCovariance(const eckit::Configuration &)
Constructor, destructor.
Class to handle observation bias parameters.
void multiply(const ObsBiasIncrement &, ObsBiasIncrement &) const