12 #ifndef LORENZ95_STATEL95_H_
13 #define LORENZ95_STATEL95_H_
24 #include "oops/util/DateTime.h"
25 #include "oops/util/Duration.h"
26 #include "oops/util/ObjectCounter.h"
27 #include "oops/util/Printable.h"
43 class ModelTrajectory;
53 private util::ObjectCounter<StateL95> {
55 static const std::string
classname() {
return "lorenz95::StateL95";}
71 std::shared_ptr<const Resolution>
geometry()
const {
76 void read(
const eckit::Configuration &);
77 void write(
const eckit::Configuration &)
const;
90 void serialize(std::vector<double> &)
const;
91 void deserialize(
const std::vector<double> &,
size_t &);
94 void print(std::ostream &)
const;
Class to represent fields for the L95 model.
const int & resol() const
Set and get.
Increment Class: Difference between two states.
void accumul(const double &, const StateL95 &)
void updateTime(const util::Duration &dt)
void zero()
For accumulator.
util::DateTime & validTime()
StateL95(const Resolution &, const oops::Variables &, const util::DateTime &)
Constructor, destructor.
const FieldL95 & getField() const
size_t serialSize() const
Serialize and deserialize.
void read(const eckit::Configuration &)
Utilities.
StateL95 & operator+=(const IncrementL95 &)
Interactions with increments.
static const std::string classname()
void write(const eckit::Configuration &) const
const util::DateTime & validTime() const
void deserialize(const std::vector< double > &, size_t &)
const oops::Variables & variables() const
void serialize(std::vector< double > &) const
void print(std::ostream &) const
std::shared_ptr< const Resolution > geometry() const
StateL95 & operator=(const StateL95 &)
Basic operators.
The namespace for the L95 model.
The namespace for the main oops code.