SOCA
Model2GeoVaLs.cc
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2021-2021 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 
10 
11 #include "oops/util/abor1_cpp.h"
12 
13 namespace soca {
14 
15 // -----------------------------------------------------------------------------
16 
17 static oops::VariableChangeMaker<Traits, Model2GeoVaLs>
19 
20 static oops::VariableChangeMaker< Traits, Model2GeoVaLs>
22 
23 // -----------------------------------------------------------------------------
24 
26  const eckit::Configuration & conf)
27  : geom_(new Geometry(geom)) {
28 }
29 
30 // -----------------------------------------------------------------------------
31 
33 
34 // -----------------------------------------------------------------------------
35 
36 void Model2GeoVaLs::changeVar(const State & xin, State & xout) const {
38  xin.toFortran(), xout.toFortran());
39 }
40 
41 // -----------------------------------------------------------------------------
42 
44  util::abor1_cpp("Model2GeoVaLs::changeVarInverse not implemented");
45 }
46 
47 // -----------------------------------------------------------------------------
48 
49 } // namespace soca
Geometry handles geometry for SOCA model.
Definition: Geometry.h:48
void changeVarInverse(const State &, State &) const override
Model2GeoVaLs(const Geometry &, const eckit::Configuration &)
std::unique_ptr< Geometry > geom_
Definition: Model2GeoVaLs.h:31
void changeVar(const State &, State &) const override
SOCA model state.
Definition: State.h:48
int & toFortran()
Definition: State.h:88
static oops::VariableChangeMaker< Traits, Model2GeoVaLs > makerVariableChangeModel2GeoVaLs_("Model2GeoVaLs")
static oops::VariableChangeMaker< Traits, Model2GeoVaLs > makerVariableChangeDefault_("default")
void soca_model2geovals_changevar_f90(const F90geom &, const F90flds &, F90flds &)