FV3-JEDI
VarChaModel2GeoVaLs.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 VarChaModel2GeoVaLs: public util::Printable,
24  private util::ObjectCounter<VarChaModel2GeoVaLs> {
25  public:
26  static const std::string classname() {return "fv3jedi::VarChaModel2GeoVaLs";}
27  explicit VarChaModel2GeoVaLs(const Geometry &, const eckit::Configuration &);
29  void changeVar(const State &, State &) const;
30  void changeVarInverse(const State &, State &) const;
31 
32  private:
34  std::shared_ptr<const Geometry> geom_;
35  void print(std::ostream &) const override;
36 };
37 
38 // -------------------------------------------------------------------------------------------------
39 
40 } // namespace fv3jedi
fv3jedi::VarChaModel2GeoVaLs::keyFtnConfig_
F90vc_M2G keyFtnConfig_
Definition: VarChaModel2GeoVaLs.h:33
Geometry.h
fv3jedi::VarChaModel2GeoVaLs::print
void print(std::ostream &) const override
Definition: VarChaModel2GeoVaLs.cc:62
fv3jedi::VarChaModel2GeoVaLs::classname
static const std::string classname()
Definition: VarChaModel2GeoVaLs.h:26
fv3jedi::VarChaModel2GeoVaLs::changeVarInverse
void changeVarInverse(const State &, State &) const
Definition: VarChaModel2GeoVaLs.cc:54
fv3jedi::Geometry
Geometry handles geometry for FV3JEDI model.
Definition: Geometry.h:41
fv3jedi::VarChaModel2GeoVaLs::~VarChaModel2GeoVaLs
~VarChaModel2GeoVaLs()
Definition: VarChaModel2GeoVaLs.cc:38
fv3jedi::VarChaModel2GeoVaLs::geom_
std::shared_ptr< const Geometry > geom_
Definition: VarChaModel2GeoVaLs.h:34
fv3jedi::State
Definition: State.h:45
fv3jedi
Configuration files should be formatted as e.g.
Definition: ErrorCovariance.cc:20
fv3jedi::VarChaModel2GeoVaLs
Definition: VarChaModel2GeoVaLs.h:24
fv3jedi::VarChaModel2GeoVaLs::changeVar
void changeVar(const State &, State &) const
Definition: VarChaModel2GeoVaLs.cc:45
fv3jedi::VarChaModel2GeoVaLs::VarChaModel2GeoVaLs
VarChaModel2GeoVaLs(const Geometry &, const eckit::Configuration &)
Definition: VarChaModel2GeoVaLs.cc:28
VarChaModel2GeoVaLs.interface.h
fv3jedi::F90vc_M2G
int F90vc_M2G
Definition: VarChaModel2GeoVaLs.interface.h:11