OOPS
ChangeVarQG.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2017-2018 UCAR.
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  */
7 
8 #ifndef QG_MODEL_CHANGEVARQG_H_
9 #define QG_MODEL_CHANGEVARQG_H_
10 
11 #include <ostream>
12 #include <string>
13 
14 #include "oops/util/Printable.h"
15 
16 #include "oops/qg/QgFortran.h"
17 
18 // Forward declarations
19 namespace eckit {
20  class Configuration;
21 }
22 
23 namespace qg {
24  class GeometryQG;
25  class StateQG;
26 
27 // -----------------------------------------------------------------------------
28 /// QG change of variable
29 
30 class ChangeVarQG: public util::Printable {
31  public:
32  static const std::string classname() {return "qg::ChangeVarQG";}
33 
34  ChangeVarQG(const GeometryQG &, const eckit::Configuration &);
35  ~ChangeVarQG();
36 
37 /// Perform transforms
38  void changeVar(const StateQG &, StateQG &) const;
39  void changeVarInverse(const StateQG &, StateQG &) const;
40 
41  private:
42  void print(std::ostream &) const override;
43 
44 // Data
46 };
47 // -----------------------------------------------------------------------------
48 
49 } // namespace qg
50 #endif // QG_MODEL_CHANGEVARQG_H_
qg::ChangeVarQG::changeVar
void changeVar(const StateQG &, StateQG &) const
Perform transforms.
Definition: ChangeVarQG.cc:31
qg::ChangeVarQG::ChangeVarQG
ChangeVarQG(const GeometryQG &, const eckit::Configuration &)
Definition: ChangeVarQG.cc:21
qg
The namespace for the qg model.
Definition: qg/model/AnalyticInit.cc:13
qg::ChangeVarQG::keyConfig_
F90chvar keyConfig_
Definition: ChangeVarQG.h:45
qg::StateQG
QG model state.
Definition: StateQG.h:42
qg::ChangeVarQG::~ChangeVarQG
~ChangeVarQG()
Definition: ChangeVarQG.cc:29
qg::ChangeVarQG::classname
static const std::string classname()
Definition: ChangeVarQG.h:32
eckit
Definition: FieldL95.h:22
qg::ChangeVarQG::changeVarInverse
void changeVarInverse(const StateQG &, StateQG &) const
Definition: ChangeVarQG.cc:35
qg::ChangeVarQG
QG change of variable.
Definition: ChangeVarQG.h:30
qg::F90chvar
int F90chvar
Definition: QgFortran.h:38
qg::ChangeVarQG::print
void print(std::ostream &) const override
Definition: ChangeVarQG.cc:39
qg::GeometryQG
GeometryQG handles geometry for QG model.
Definition: GeometryQG.h:54