FV3 Bundle
lorenz95::GomL95 Class Reference

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

#include <GomL95.h>

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

Public Member Functions

 GomL95 (const LocsL95 &, const oops::Variables &)
 
 GomL95 (const eckit::Configuration &, const oops::Variables &)
 Constructor with Configuration. More...
 
 GomL95 (const GomL95 &)
 
 ~GomL95 ()
 
void abs ()
 
void zero ()
 
void random ()
 
double norm () const
 
GomL95operator*= (const double &)
 
GomL95operator+= (const GomL95 &)
 
GomL95operator-= (const GomL95 &)
 
GomL95operator/= (const GomL95 &)
 
double dot_product_with (const GomL95 &) const
 
void read (const eckit::Configuration &)
 
void analytic_init (const LocsL95 &, const eckit::Configuration &)
 GomL95 analytic initialization. More...
 
void write (const eckit::Configuration &) const
 
void print (std::ostream &) const
 
size_t size () const
 
const double & operator[] (const int ii) const
 
double & operator[] (const int ii)
 
int getindx (const int il) const
 
int & current () const
 

Static Public Member Functions

static const std::string classname ()
 

Private Attributes

size_t size_
 
std::vector< int > iobs_
 
std::vector< double > locval_
 
int current_
 

Detailed Description

GomL95 class to handle locations for L95 model.

Definition at line 32 of file GomL95.h.

Constructor & Destructor Documentation

◆ GomL95() [1/3]

lorenz95::GomL95::GomL95 ( const LocsL95 locs,
const oops::Variables  
)

Definition at line 32 of file src/lorenz95/GomL95.cc.

Here is the call graph for this function:

◆ GomL95() [2/3]

lorenz95::GomL95::GomL95 ( const eckit::Configuration &  conf,
const oops::Variables  
)

Constructor with Configuration.

Definition at line 44 of file src/lorenz95/GomL95.cc.

Here is the call graph for this function:

◆ GomL95() [3/3]

lorenz95::GomL95::GomL95 ( const GomL95 other)
explicit

Definition at line 50 of file src/lorenz95/GomL95.cc.

◆ ~GomL95()

lorenz95::GomL95::~GomL95 ( )

Definition at line 56 of file src/lorenz95/GomL95.cc.

Member Function Documentation

◆ abs()

void lorenz95::GomL95::abs ( )

Definition at line 81 of file src/lorenz95/GomL95.cc.

◆ analytic_init()

void lorenz95::GomL95::analytic_init ( const LocsL95 locs,
const eckit::Configuration &  conf 
)

GomL95 analytic initialization.

Definition at line 148 of file src/lorenz95/GomL95.cc.

◆ classname()

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

Definition at line 35 of file GomL95.h.

◆ current()

int& lorenz95::GomL95::current ( ) const
inline

Definition at line 60 of file GomL95.h.

Here is the caller graph for this function:

◆ dot_product_with()

double lorenz95::GomL95::dot_product_with ( const GomL95 gom) const

Definition at line 101 of file src/lorenz95/GomL95.cc.

◆ getindx()

int lorenz95::GomL95::getindx ( const int  il) const
inline

Definition at line 59 of file GomL95.h.

Here is the caller graph for this function:

◆ norm()

double lorenz95::GomL95::norm ( ) const

Definition at line 89 of file src/lorenz95/GomL95.cc.

◆ operator*=()

GomL95 & lorenz95::GomL95::operator*= ( const double &  zz)

Definition at line 58 of file src/lorenz95/GomL95.cc.

◆ operator+=()

GomL95 & lorenz95::GomL95::operator+= ( const GomL95 rhs)

Definition at line 63 of file src/lorenz95/GomL95.cc.

◆ operator-=()

GomL95 & lorenz95::GomL95::operator-= ( const GomL95 rhs)

Definition at line 69 of file src/lorenz95/GomL95.cc.

◆ operator/=()

GomL95 & lorenz95::GomL95::operator/= ( const GomL95 rhs)

Definition at line 75 of file src/lorenz95/GomL95.cc.

◆ operator[]() [1/2]

const double& lorenz95::GomL95::operator[] ( const int  ii) const
inline

Definition at line 57 of file GomL95.h.

◆ operator[]() [2/2]

double& lorenz95::GomL95::operator[] ( const int  ii)
inline

Definition at line 58 of file GomL95.h.

◆ print()

void lorenz95::GomL95::print ( std::ostream &  os) const

Definition at line 167 of file src/lorenz95/GomL95.cc.

◆ random()

void lorenz95::GomL95::random ( )

Definition at line 95 of file src/lorenz95/GomL95.cc.

◆ read()

void lorenz95::GomL95::read ( const eckit::Configuration &  conf)

Definition at line 107 of file src/lorenz95/GomL95.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

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

Definition at line 56 of file GomL95.h.

Here is the caller graph for this function:

◆ write()

void lorenz95::GomL95::write ( const eckit::Configuration &  conf) const

Definition at line 129 of file src/lorenz95/GomL95.cc.

◆ zero()

void lorenz95::GomL95::zero ( )

Definition at line 85 of file src/lorenz95/GomL95.cc.

Member Data Documentation

◆ current_

int lorenz95::GomL95::current_
mutableprivate

Definition at line 66 of file GomL95.h.

◆ iobs_

std::vector<int> lorenz95::GomL95::iobs_
private

Definition at line 64 of file GomL95.h.

◆ locval_

std::vector<double> lorenz95::GomL95::locval_
private

Definition at line 65 of file GomL95.h.

◆ size_

size_t lorenz95::GomL95::size_
private

Definition at line 63 of file GomL95.h.


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