FV3 Bundle
ObsOperatorQG.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_OBSOPERATORQG_H_
12 #define QG_MODEL_OBSOPERATORQG_H_
13 
14 #include <string>
15 
16 #include <boost/noncopyable.hpp>
17 #include <boost/scoped_ptr.hpp>
18 
19 #include "oops/util/Printable.h"
20 
21 // Forward declarations
22 namespace eckit {
23  class Configuration;
24 }
25 
26 namespace oops {
27  class Variables;
28 }
29 
30 namespace qg {
31  class GomQG;
32  class ObsBias;
33  class ObsOpBaseQG;
34  class ObsSpaceQG;
35  class ObsVecQG;
36 
37 // -----------------------------------------------------------------------------
38 
39 class ObsOperatorQG : public util::Printable,
40  private boost::noncopyable {
41  public:
42  ObsOperatorQG(const ObsSpaceQG &, const eckit::Configuration &);
44 
45 /// Obs Operator
46  void simulateObs(const GomQG &, ObsVecQG &, const ObsBias &) const;
47 
48 /// Other
49  const oops::Variables & variables() const; // Required inputs variables from Model
50 
51  private:
52  void print(std::ostream &) const;
53  boost::scoped_ptr<ObsOpBaseQG> oper_;
54 };
55 
56 // -----------------------------------------------------------------------------
57 
58 } // namespace qg
59 
60 #endif // QG_MODEL_OBSOPERATORQG_H_
GomQG class to handle local model values for QG model.
Definition: GomQG.h:31
boost::scoped_ptr< ObsOpBaseQG > oper_
Definition: ObsOperatorQG.h:53
const oops::Variables & variables() const
Other.
ObsOperatorQG(const ObsSpaceQG &, const eckit::Configuration &)
The namespace for the main oops code.
Class to handle observation bias parameters.
void simulateObs(const GomQG &, ObsVecQG &, const ObsBias &) const
Obs Operator.
void print(std::ostream &) const
ObsVecQG class to handle vectors in observation space for QG model.
Definition: ObsVecQG.h:27
Wrapper around ObsHelpQG, mostly to hide the factory.
Definition: ObsSpaceQG.h:35
The namespace for the qg model.