OOPS
lorenz95::Resolution Class Reference

Handles resolution. More...

#include <Resolution.h>

Inheritance diagram for lorenz95::Resolution:
Collaboration diagram for lorenz95::Resolution:

Public Types

typedef ResolutionParameters Parameters_
 

Public Member Functions

 Resolution (const ResolutionParameters &parameters, const eckit::mpi::Comm &comm)
 
 Resolution (const int resol)
 
int npoints () const
 
Iterator begin () const
 
Iterator end () const
 
std::vector< double > verticalCoord (std::string &) const
 
std::vector< size_t > variableSizes (const oops::Variables &) const
 
const eckit::mpi::Comm & getComm () const
 

Private Member Functions

void print (std::ostream &os) const
 

Private Attributes

const int resol_
 
const eckit::mpi::Comm & comm_
 

Detailed Description

Handles resolution.

Definition at line 43 of file Resolution.h.

Member Typedef Documentation

◆ Parameters_

Constructor & Destructor Documentation

◆ Resolution() [1/2]

lorenz95::Resolution::Resolution ( const ResolutionParameters parameters,
const eckit::mpi::Comm &  comm 
)
inline

Definition at line 47 of file Resolution.h.

◆ Resolution() [2/2]

lorenz95::Resolution::Resolution ( const int  resol)
inlineexplicit

Definition at line 50 of file Resolution.h.

Member Function Documentation

◆ begin()

Iterator lorenz95::Resolution::begin ( ) const

Definition at line 18 of file Resolution.cc.

◆ end()

Iterator lorenz95::Resolution::end ( ) const

Definition at line 22 of file Resolution.cc.

◆ getComm()

const eckit::mpi::Comm& lorenz95::Resolution::getComm ( ) const
inline

Definition at line 59 of file Resolution.h.

◆ npoints()

int lorenz95::Resolution::npoints ( ) const
inline

Definition at line 53 of file Resolution.h.

Here is the caller graph for this function:

◆ print()

void lorenz95::Resolution::print ( std::ostream &  os) const
inlineprivate

Definition at line 62 of file Resolution.h.

◆ variableSizes()

std::vector< size_t > lorenz95::Resolution::variableSizes ( const oops::Variables vars) const

Definition at line 31 of file Resolution.cc.

Here is the call graph for this function:

◆ verticalCoord()

std::vector< double > lorenz95::Resolution::verticalCoord ( std::string &  vcUnits) const

Definition at line 26 of file Resolution.cc.

Member Data Documentation

◆ comm_

const eckit::mpi::Comm& lorenz95::Resolution::comm_
private

Definition at line 64 of file Resolution.h.

◆ resol_

const int lorenz95::Resolution::resol_
private

Definition at line 63 of file Resolution.h.


The documentation for this class was generated from the following files: