FV3 Bundle
ObsOperatorTLAD.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_OBSOPERATORTLAD_H_
12 #define QG_MODEL_OBSOPERATORTLAD_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 ObsBiasIncrement;
34  class ObsOpBaseTLAD;
35  class ObsSpaceQG;
36  class ObsVecQG;
37 
38 // -----------------------------------------------------------------------------
39 
40 class ObsOperatorTLAD : public util::Printable,
41  private boost::noncopyable {
42  public:
43  ObsOperatorTLAD(const ObsSpaceQG &, const eckit::Configuration &);
45 
46 /// Obs Operator
47  void setTrajectory(const GomQG &, const ObsBias &);
48  void simulateObsTL(const GomQG &, ObsVecQG &, const ObsBiasIncrement &) const;
49  void simulateObsAD(GomQG &, const ObsVecQG &, ObsBiasIncrement &) const;
50 
51 /// Other
52  const oops::Variables & variables() const; // Required inputs variables from Model
53 
54  private:
55  void print(std::ostream &) const;
56  boost::scoped_ptr<ObsOpBaseTLAD> oper_;
57 };
58 
59 // -----------------------------------------------------------------------------
60 
61 } // namespace qg
62 
63 #endif // QG_MODEL_OBSOPERATORTLAD_H_
GomQG class to handle local model values for QG model.
Definition: GomQG.h:31
The namespace for the main oops code.
Class to handle observation bias parameters.
const oops::Variables & variables() const
Other.
void simulateObsAD(GomQG &, const ObsVecQG &, ObsBiasIncrement &) const
void print(std::ostream &) const
void simulateObsTL(const GomQG &, ObsVecQG &, const ObsBiasIncrement &) const
void setTrajectory(const GomQG &, const ObsBias &)
Obs Operator.
ObsOperatorTLAD(const ObsSpaceQG &, const eckit::Configuration &)
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
boost::scoped_ptr< ObsOpBaseTLAD > oper_
The namespace for the qg model.