FV3 Bundle
lorenz95::LocsL95 Class Reference

LocsL95 class to handle locations for L95 model. More...

#include <LocsL95.h>

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

Public Member Functions

 LocsL95 (const std::vector< int > &, const std::vector< double > &)
 
 LocsL95 (const eckit::Configuration &)
 
 ~LocsL95 ()
 
size_t size () const
 
const double & operator[] (const size_t ii) const
 
const int & globalIndex (const size_t ii) const
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

void print (std::ostream &os) const
 

Private Attributes

std::vector< int > indx_
 
std::vector< double > locs_
 

Detailed Description

LocsL95 class to handle locations for L95 model.

Definition at line 28 of file LocsL95.h.

Constructor & Destructor Documentation

◆ LocsL95() [1/2]

lorenz95::LocsL95::LocsL95 ( const std::vector< int > &  indx,
const std::vector< double > &  locs 
)

Definition at line 21 of file src/lorenz95/LocsL95.cc.

◆ LocsL95() [2/2]

lorenz95::LocsL95::LocsL95 ( const eckit::Configuration &  conf)
explicit

Definition at line 29 of file src/lorenz95/LocsL95.cc.

◆ ~LocsL95()

lorenz95::LocsL95::~LocsL95 ( )
inline

Definition at line 35 of file LocsL95.h.

Member Function Documentation

◆ classname()

static const std::string lorenz95::LocsL95::classname ( )
inlinestatic

Definition at line 31 of file LocsL95.h.

◆ globalIndex()

const int& lorenz95::LocsL95::globalIndex ( const size_t  ii) const
inline

Definition at line 39 of file LocsL95.h.

Here is the caller graph for this function:

◆ operator[]()

const double& lorenz95::LocsL95::operator[] ( const size_t  ii) const
inline

Definition at line 38 of file LocsL95.h.

◆ print()

void lorenz95::LocsL95::print ( std::ostream &  os) const
private

Definition at line 39 of file src/lorenz95/LocsL95.cc.

◆ size()

size_t lorenz95::LocsL95::size ( ) const
inline

Definition at line 37 of file LocsL95.h.

Here is the caller graph for this function:

Member Data Documentation

◆ indx_

std::vector<int> lorenz95::LocsL95::indx_
private

Definition at line 43 of file LocsL95.h.

◆ locs_

std::vector<double> lorenz95::LocsL95::locs_
private

Definition at line 44 of file LocsL95.h.


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