14 #include "eckit/exception/Exceptions.h"
16 #include "oops/util/Logger.h"
30 : keyConfig_(0), params_(params), geom_(resol),
31 vars_(params.variables())
33 oops::Log::trace() <<
"ModelQG::ModelQG" << std::endl;
35 oops::Log::trace() <<
"ModelQG created" << std::endl;
40 oops::Log::trace() <<
"ModelQG destructed" << std::endl;
45 oops::Log::debug() <<
"ModelQG::initialize" << xx.
fields() << std::endl;
50 oops::Log::debug() <<
"ModelQG::step fields in" << xx.
fields() << std::endl;
53 oops::Log::debug() <<
"ModelQG::step fields out" << xx.
fields() << std::endl;
58 oops::Log::debug() <<
"ModelQG::finalize" << xx.
fields() << std::endl;
64 oops::Log::debug() <<
"ModelQG::saveTrajectory fields in" << xx.
fields() << std::endl;
68 oops::Log::debug() <<
"ModelQG::saveTrajectory fields out" << xx.
fields() << std::endl;
73 os <<
"ModelQG::print not implemented";
A subclass of ModelFactory able to create instances of T (a concrete subclass of interface::ModelBase...
const int & toFortran() const
bool isForModel(const bool &) const
GeometryQG handles geometry for QG model.
const F90geom & toFortran() const
Model error for the QG model.
ModelQgParameters params_
int saveTrajectory(StateQG &, const ModelBias &) const
void print(std::ostream &) const
Print; used for logging.
void initialize(StateQG &) const
Prepare model integration.
void finalize(StateQG &) const
Finish model integration.
ModelQG(const GeometryQG &, const ModelQgParameters &)
void step(StateQG &, const ModelBias &) const
Model integration.
oops::RequiredParameter< util::Duration > tstep
Model time step.
FieldsQG & fields()
Access to fields.
const util::DateTime & validTime() const
The namespace for the qg model.
static oops::interface::ModelMaker< QgTraits, ModelQG > makermodel_("QG")
void qg_model_setup_f90(F90model &, const eckit::Configuration &)
void qg_model_delete_f90(F90model &)
void qg_fields_create_from_other_f90(F90flds &, const F90flds &, const F90geom &)
void qg_fields_copy_f90(const F90flds &, const F90flds &)
void qg_model_propagate_f90(const F90model &, const F90flds &)