FV3-JEDI
VarChaC2A.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2017-2020 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 #pragma once
9 
10 #include <memory>
11 #include <ostream>
12 #include <string>
13 
14 #include "eckit/config/Configuration.h"
16 #include "oops/util/Printable.h"
17 #include "VarChaC2A.interface.h"
18 
19 namespace fv3jedi {
20 
21 // -------------------------------------------------------------------------------------------------
22 
23 class VarChaC2A: public util::Printable {
24  public:
25  static const std::string classname() {return "fv3jedi::VarChaC2A";}
26  explicit VarChaC2A(const Geometry &, const eckit::Configuration &);
27  ~VarChaC2A();
28  void changeVar(const State &, State &) const;
29  void changeVarInverse(const State &, State &) const;
30 
31  private:
32  std::shared_ptr<const Geometry> geom_;
34  void print(std::ostream &) const override;
35 };
36 
37 // -------------------------------------------------------------------------------------------------
38 
39 } // namespace fv3jedi
fv3jedi::VarChaC2A::changeVar
void changeVar(const State &, State &) const
Definition: VarChaC2A.cc:45
VarChaC2A.interface.h
fv3jedi::VarChaC2A::~VarChaC2A
~VarChaC2A()
Definition: VarChaC2A.cc:38
fv3jedi::VarChaC2A::VarChaC2A
VarChaC2A(const Geometry &, const eckit::Configuration &)
Definition: VarChaC2A.cc:28
fv3jedi::VarChaC2A::changeVarInverse
void changeVarInverse(const State &, State &) const
Definition: VarChaC2A.cc:54
fv3jedi::VarChaC2A
Definition: VarChaC2A.h:23
fv3jedi::F90vc_C2A
int F90vc_C2A
Definition: VarChaC2A.interface.h:11
Geometry.h
fv3jedi::VarChaC2A::classname
static const std::string classname()
Definition: VarChaC2A.h:25
fv3jedi::VarChaC2A::geom_
std::shared_ptr< const Geometry > geom_
Definition: VarChaC2A.h:32
fv3jedi::Geometry
Geometry handles geometry for FV3JEDI model.
Definition: Geometry.h:41
fv3jedi::State
Definition: State.h:45
fv3jedi
Configuration files should be formatted as e.g.
Definition: ErrorCovariance.cc:20
fv3jedi::VarChaC2A::print
void print(std::ostream &) const override
Definition: VarChaC2A.cc:63
fv3jedi::VarChaC2A::keyFtnConfig_
F90vc_C2A keyFtnConfig_
Definition: VarChaC2A.h:33