11 #ifndef LORENZ95_RESOLUTION_H_
12 #define LORENZ95_RESOLUTION_H_
18 #include "eckit/config/Configuration.h"
22 #include "oops/util/parameters/Parameters.h"
23 #include "oops/util/parameters/RequiredParameter.h"
24 #include "oops/util/Printable.h"
37 oops::RequiredParameter<int>
resol{
"resol",
this};
49 {ASSERT(
comm_.size() == 1);}
51 {ASSERT(
comm_.size() == 1);}
const eckit::mpi::Comm & comm_
ResolutionParameters Parameters_
const eckit::mpi::Comm & getComm() const
Resolution(const int resol)
Resolution(const ResolutionParameters ¶meters, const eckit::mpi::Comm &comm)
void print(std::ostream &os) const
std::vector< size_t > variableSizes(const oops::Variables &) const
std::vector< double > verticalCoord(std::string &) const
Parameters controlling a Lorenz95 model's resolution.
oops::RequiredParameter< int > resol
Number of gridpoints.
The namespace for the L95 model.
const eckit::mpi::Comm & myself()
Default communicator with each MPI task by itself.
The namespace for the main oops code.