11 #ifndef QG_MODEL_FIELDSQG_H_ 12 #define QG_MODEL_FIELDSQG_H_ 17 #include <boost/shared_ptr.hpp> 24 #include "oops/util/DateTime.h" 25 #include "oops/util/Duration.h" 26 #include "oops/util/ObjectCounter.h" 27 #include "oops/util/Printable.h" 35 class UnstructuredGrid;
47 private util::ObjectCounter<FieldsQG> {
49 static const std::string
classname() {
return "qg::FieldsQG";}
60 void zero(
const util::DateTime &);
68 void dirac(
const eckit::Configuration &);
87 void read(
const eckit::Configuration &);
89 void write(
const eckit::Configuration &)
const;
104 void print(std::ostream &)
const;
106 boost::shared_ptr<const GeometryQG>
geom_;
113 #endif // QG_MODEL_FIELDSQG_H_
GomQG class to handle local model values for QG model.
void read(const eckit::Configuration &)
double dot_product_with(const FieldsQG &) const
void print(std::ostream &) const
void getValuesAD(const LocationsQG &, const oops::Variables &, const GomQG &)
Class to represent a FieldSet for the QG model.
void dirac(const eckit::Configuration &)
void write(const eckit::Configuration &) const
void field_to_ug(oops::UnstructuredGrid &, const int &) const
void getValuesTL(const LocationsQG &, const oops::Variables &, GomQG &) const
FieldsQG(const GeometryQG &, const oops::Variables &, const util::DateTime &)
void add(const FieldsQG &)
The namespace for the main oops code.
bool isForModel(const bool &) const
void schur_product_with(const FieldsQG &)
FieldsQG & operator+=(const FieldsQG &)
boost::shared_ptr< const GeometryQG > geometry() const
void changeResolution(const FieldsQG &)
static const std::string classname()
void axpy(const double &, const FieldsQG &)
const int & toFortran() const
void ug_coord(oops::UnstructuredGrid &, const int &) const
void field_from_ug(const oops::UnstructuredGrid &)
oops::GridPoint getPoint(const GeometryQGIterator &) const
GeometryQG handles geometry for QG model.
void getValues(const LocationsQG &, const oops::Variables &, GomQG &) const
LocationsQG class to handle locations for QG model.
const util::DateTime & time() const
FieldsQG & operator-=(const FieldsQG &)
void diff(const FieldsQG &, const FieldsQG &)
boost::shared_ptr< const GeometryQG > geom_
FieldsQG & operator=(const FieldsQG &)
void analytic_init(const eckit::Configuration &, const GeometryQG &)
The namespace for the qg model.
FieldsQG & operator*=(const double &)