FV3-JEDI
VarChaVertRemap.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"
18 
19 namespace fv3jedi {
20 
21 // -------------------------------------------------------------------------------------------------
22 
23 class VarChaVertRemap: public util::Printable {
24  public:
25  static const std::string classname() {return "fv3jedi::VarChaVertRemap";}
26  explicit VarChaVertRemap(const Geometry &, const eckit::Configuration &);
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::VarChaVertRemap::VarChaVertRemap
VarChaVertRemap(const Geometry &, const eckit::Configuration &)
Definition: VarChaVertRemap.cc:28
fv3jedi::VarChaVertRemap::print
void print(std::ostream &) const override
Definition: VarChaVertRemap.cc:69
fv3jedi::F90vc_VR
int F90vc_VR
Definition: VarChaVertRemap.interface.h:11
fv3jedi::VarChaVertRemap::geom_
std::shared_ptr< const Geometry > geom_
Definition: VarChaVertRemap.h:32
Geometry.h
fv3jedi::VarChaVertRemap::changeVarInverse
void changeVarInverse(const State &, State &) const
Definition: VarChaVertRemap.cc:61
VarChaVertRemap.interface.h
fv3jedi::Geometry
Geometry handles geometry for FV3JEDI model.
Definition: Geometry.h:41
fv3jedi::VarChaVertRemap::classname
static const std::string classname()
Definition: VarChaVertRemap.h:25
fv3jedi::VarChaVertRemap::keyFtn_
F90vc_VR keyFtn_
Definition: VarChaVertRemap.h:33
fv3jedi::VarChaVertRemap::~VarChaVertRemap
~VarChaVertRemap()
Definition: VarChaVertRemap.cc:46
fv3jedi::State
Definition: State.h:45
fv3jedi
Configuration files should be formatted as e.g.
Definition: ErrorCovariance.cc:20
fv3jedi::VarChaVertRemap::changeVar
void changeVar(const State &, State &) const
Definition: VarChaVertRemap.cc:53
fv3jedi::VarChaVertRemap
Definition: VarChaVertRemap.h:23