FV3 Bundle
lorenz95::Resolution Class Reference

Handles resolution. More...

#include <Resolution.h>

Inheritance diagram for lorenz95::Resolution:
[legend]
Collaboration diagram for lorenz95::Resolution:
[legend]

Public Member Functions

 Resolution (const eckit::Configuration &conf)
 
 Resolution (const int resol)
 
 Resolution (const Resolution &other)
 
 ~Resolution ()
 
std::vector< double > getLats () const
 
std::vector< double > getLons () const
 
std::vector< double > getLevs () const
 
std::vector< int > getMask (const int &) const
 
int npoints () const
 

Private Member Functions

Resolutionoperator= (const Resolution &)
 
void print (std::ostream &os) const
 

Private Attributes

const int resol_
 

Detailed Description

Handles resolution.

Definition at line 25 of file Resolution.h.

Constructor & Destructor Documentation

◆ Resolution() [1/3]

lorenz95::Resolution::Resolution ( const eckit::Configuration &  conf)
inlineexplicit

Definition at line 27 of file Resolution.h.

◆ Resolution() [2/3]

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

Definition at line 28 of file Resolution.h.

◆ Resolution() [3/3]

lorenz95::Resolution::Resolution ( const Resolution other)
inline

Definition at line 29 of file Resolution.h.

◆ ~Resolution()

lorenz95::Resolution::~Resolution ( )
inline

Definition at line 30 of file Resolution.h.

Member Function Documentation

◆ getLats()

std::vector< double > lorenz95::Resolution::getLats ( ) const

Definition at line 17 of file src/lorenz95/Resolution.cc.

◆ getLevs()

std::vector< double > lorenz95::Resolution::getLevs ( ) const

Definition at line 30 of file src/lorenz95/Resolution.cc.

◆ getLons()

std::vector< double > lorenz95::Resolution::getLons ( ) const

Definition at line 23 of file src/lorenz95/Resolution.cc.

◆ getMask()

std::vector< int > lorenz95::Resolution::getMask ( const int &  ) const

Definition at line 36 of file src/lorenz95/Resolution.cc.

◆ npoints()

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

Definition at line 37 of file Resolution.h.

Here is the caller graph for this function:

◆ operator=()

Resolution& lorenz95::Resolution::operator= ( const Resolution )
private

◆ print()

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

Definition at line 41 of file Resolution.h.

Member Data Documentation

◆ resol_

const int lorenz95::Resolution::resol_
private

Definition at line 42 of file Resolution.h.


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