Loading [MathJax]/extensions/tex2jax.js
OOPS
All Classes Namespaces Files Functions Variables Typedefs Macros Pages
ObservationTLAD.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 LORENZ95_OBSERVATIONTLAD_H_
12 #define LORENZ95_OBSERVATIONTLAD_H_
13 
14 #include <ostream>
15 #include <string>
16 
17 #include <boost/noncopyable.hpp>
18 
19 #include "lorenz95/ObsTable.h"
20 
21 #include "oops/base/Variables.h"
22 #include "oops/util/ObjectCounter.h"
23 #include "oops/util/parameters/Parameters.h"
24 #include "oops/util/Printable.h"
25 
26 // Forward declarations
27 namespace eckit {
28  class Configuration;
29 }
30 
31 namespace lorenz95 {
32  class GomL95;
33  class ObsBias;
34  class ObsBiasCorrection;
35  class ObsVec1D;
36 
37 // -----------------------------------------------------------------------------
38 
39 /// (Empty) parameters controlling the observation operator for the Lorenz 95 model.
40 class ObservationL95Parameters : public oops::Parameters {
42  // No parameters needed.
43 };
44 
45 // -----------------------------------------------------------------------------
46 
47 /// Observation for Lorenz 95 model.
48 /*!
49  * ObservationTLAD defines the linearized ObsOperator for Lorenz 95 model.
50  */
51 
52 class ObservationTLAD : public util::Printable,
53  private boost::noncopyable,
54  private util::ObjectCounter<ObservationTLAD> {
55  public:
57 
58  static const std::string classname() {return "lorenz95::ObservationTLAD";}
59 
60  ObservationTLAD(const ObsTable &, const Parameters_ &);
61 
62 // Obs Operators
63  void setTrajectory(const GomL95 &, const ObsBias &);
64  void simulateObsTL(const GomL95 &, ObsVec1D &, const ObsBiasCorrection &) const;
65  void simulateObsAD(GomL95 &, const ObsVec1D &, ObsBiasCorrection &) const;
66 
67 // Other
68  const oops::Variables & requiredVars() const {return inputs_;}
69 
70  private:
71  void print(std::ostream &) const;
73 };
74 
75 // -----------------------------------------------------------------------------
76 
77 } // namespace lorenz95
78 
79 #endif // LORENZ95_OBSERVATIONTLAD_H_
GomL95 class to handle locations for L95 model.
Definition: GomL95.h:33
Class to handle observation bias parameters.
A Simple Observation Data Handler.
Definition: ObsTable.h:67
Vector in observation space.
Definition: ObsVec1D.h:33
(Empty) parameters controlling the observation operator for the Lorenz 95 model.
OOPS_CONCRETE_PARAMETERS(ObservationL95Parameters, Parameters)
Observation for Lorenz 95 model.
const oops::Variables & requiredVars() const
void simulateObsTL(const GomL95 &, ObsVec1D &, const ObsBiasCorrection &) const
void print(std::ostream &) const
static const std::string classname()
ObservationTLAD(const ObsTable &, const Parameters_ &)
ObservationL95Parameters Parameters_
void simulateObsAD(GomL95 &, const ObsVec1D &, ObsBiasCorrection &) const
void setTrajectory(const GomL95 &, const ObsBias &)
const oops::Variables inputs_
Definition: FieldL95.h:22
The namespace for the L95 model.