Go to the documentation of this file.
12 #ifndef QG_MODEL_MODELQG_H_
13 #define QG_MODEL_MODELQG_H_
22 #include "oops/util/Duration.h"
23 #include "oops/util/ObjectCounter.h"
24 #include "oops/util/parameters/Parameter.h"
25 #include "oops/util/parameters/Parameters.h"
26 #include "oops/util/parameters/RequiredParameter.h"
28 #include "oops/qg/GeometryQG.h"
29 #include "oops/qg/QgFortran.h"
30 #include "oops/qg/QgTraits.h"
45 oops::Parameter<bool>
use_vorticity{
"use potential vorticity",
false,
this};
47 oops::RequiredParameter<util::Duration>
tstep{
"tstep",
this};
66 private util::ObjectCounter<ModelQG> {
70 static const std::string
classname() {
return "qg::ModelQG";}
90 void print(std::ostream &)
const;
99 #endif // QG_MODEL_MODELQG_H_
Base class for the forecasting model Defines the interfaces for a forecast model.
The namespace for the qg model.
Model error for the QG model.
const util::Duration & timeResolution() const
Utilities.
oops::Parameter< bool > use_vorticity
Model option: using stream function or potential vorticity as variable.
oops::Variables variables() const
void initialize(StateQG &) const
Prepare model integration.
const oops::Variables & variables() const
ModelQgParameters Parameters_
int saveTrajectory(StateQG &, const ModelBias &) const
oops::RequiredParameter< util::Duration > tstep
Model time step.
void step(StateQG &, const ModelBias &) const
Model integration.
ModelQG(const GeometryQG &, const ModelQgParameters &)
Base class for classes storing model-specific parameters.
void finalize(StateQG &) const
Finish model integration.
ModelQgParameters params_
void print(std::ostream &) const
Print; used for logging.
GeometryQG handles geometry for QG model.
static const std::string classname()
const oops::Variables vars_