OOPS
ObsStreamTLAD.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_OBSSTREAMTLAD_H_
12 #define QG_MODEL_OBSSTREAMTLAD_H_
13 
14 #include <string>
15 
16 #include "oops/base/Variables.h"
17 #include "oops/util/ObjectCounter.h"
18 
19 #include "oops/qg/ObsOpBaseTLAD.h"
20 
21 // Forward declarations
22 namespace eckit {
23  class Configuration;
24 }
25 
26 namespace qg {
27  class GomQG;
28  class ObsBias;
29  class ObsBiasIncrement;
30  class ObsSpaceQG;
31  class ObsVecQG;
32 
33 // -----------------------------------------------------------------------------
34 /// Streamfunction TL/AD observation operator for QG model.
35 
37  private util::ObjectCounter<ObsStreamTLAD> {
38  public:
39  static const std::string classname() {return "qg::ObsStreamTLAD";}
40 
41  ObsStreamTLAD(const ObsSpaceQG &, const eckit::Configuration &);
42 
43 // Obs Operators
44  void setTrajectory(const GomQG &, const ObsBias &) override;
45  void simulateObsTL(const GomQG &, ObsVecQG &, const ObsBiasIncrement &) const override;
46  void simulateObsAD(GomQG &, const ObsVecQG &, ObsBiasIncrement &) const override;
47 
48 // Other
49  const oops::Variables & requiredVars() const override {return varin_;}
50 
51  private:
52  void print(std::ostream &) const override;
54 };
55 // -----------------------------------------------------------------------------
56 
57 } // namespace qg
58 #endif // QG_MODEL_OBSSTREAMTLAD_H_
GomQG class to handle local model values for QG model.
Definition: GomQG.h:35
Class to handle observation bias parameters.
Base class for observation operators.
Definition: ObsOpBaseTLAD.h:35
ObsSpace for QG model.
Definition: ObsSpaceQG.h:81
Streamfunction TL/AD observation operator for QG model.
Definition: ObsStreamTLAD.h:37
const oops::Variables & requiredVars() const override
Other.
Definition: ObsStreamTLAD.h:49
ObsStreamTLAD(const ObsSpaceQG &, const eckit::Configuration &)
void simulateObsAD(GomQG &, const ObsVecQG &, ObsBiasIncrement &) const override
static const std::string classname()
Definition: ObsStreamTLAD.h:39
void print(std::ostream &) const override
void setTrajectory(const GomQG &, const ObsBias &) override
Obs Operator.
const oops::Variables varin_
Definition: ObsStreamTLAD.h:53
void simulateObsTL(const GomQG &, ObsVecQG &, const ObsBiasIncrement &) const override
ObsVecQG class to handle vectors in observation space for QG model.
Definition: ObsVecQG.h:32
Definition: FieldL95.h:22
The namespace for the qg model.