FV3 Bundle
ErrorStdDevQG.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_ERRORSTDDEVQG_H_
12 #define QG_MODEL_ERRORSTDDEVQG_H_
13 
14 
15 #include <ostream>
16 #include <string>
17 #include <boost/noncopyable.hpp>
18 
19 #include "eckit/config/LocalConfiguration.h"
20 #include "model/GeometryQG.h"
21 #include "model/QgFortran.h"
22 #include "oops/util/DateTime.h"
23 #include "oops/util/ObjectCounter.h"
24 #include "oops/util/Printable.h"
25 
26 // Forward declarations
27 namespace eckit {
28  class Configuration;
29 }
30 
31 namespace qg {
32  class GeometryQG;
33  class StateQG;
34  class IncrementQG;
35 
36 // -----------------------------------------------------------------------------
37 /// QG background error standard deviations
38 
39 class ErrorStdDevQG: public util::Printable {
40  public:
41  static const std::string classname() {return "qg::ErrorStdDevQG";}
42 
43  ErrorStdDevQG(const StateQG &, const StateQG &,
44  const GeometryQG &, const eckit::Configuration &);
46 
47 /// Perform linear transforms
48  void multiply(const IncrementQG &, IncrementQG &) const;
49  void multiplyInverse(const IncrementQG &, IncrementQG &) const;
50  void multiplyAD(const IncrementQG &, IncrementQG &) const;
51  void multiplyInverseAD(const IncrementQG &, IncrementQG &) const;
52 
53  private:
54  void print(std::ostream &) const override;
55 
57 };
58 // -----------------------------------------------------------------------------
59 
60 } // namespace qg
61 #endif // QG_MODEL_ERRORSTDDEVQG_H_
void multiplyAD(const IncrementQG &, IncrementQG &) const
ErrorStdDevQG(const StateQG &, const StateQG &, const GeometryQG &, const eckit::Configuration &)
void multiplyInverseAD(const IncrementQG &, IncrementQG &) const
void multiply(const IncrementQG &, IncrementQG &) const
Perform linear transforms.
static const std::string classname()
Definition: ErrorStdDevQG.h:41
int F90bstddev
Definition: QgFortran.h:44
QG model state.
Definition: StateQG.h:50
void multiplyInverse(const IncrementQG &, IncrementQG &) const
QG background error standard deviations.
Definition: ErrorStdDevQG.h:39
GeometryQG handles geometry for QG model.
Definition: GeometryQG.h:33
void print(std::ostream &) const override
F90bstddev keyFtnConfig_
Definition: ErrorStdDevQG.h:56
The namespace for the qg model.
Increment Class: Difference between two states.
Definition: IncrementQG.h:55