SOCA
soca::Geometry Class Reference

Geometry handles geometry for SOCA model. More...

#include <Geometry.h>

Inheritance diagram for soca::Geometry:
Collaboration diagram for soca::Geometry:

Public Member Functions

 Geometry (const eckit::Configuration &, const eckit::mpi::Comm &)
 
 Geometry (const Geometry &)
 
 ~Geometry ()
 
GeometryIterator begin () const
 
GeometryIterator end () const
 
std::vector< size_t > variableSizes (const oops::Variables &vars) const
 
std::vector< double > verticalCoord (std::string &) const
 
int & toFortran ()
 
const int & toFortran () const
 
void gridgen () const
 
const eckit::mpi::Comm & getComm () const
 
eckit::LocalConfiguration getAtmConf () const
 
bool getAtmInit () const
 
bool initAtm (const eckit::Configuration &conf) const
 
atlas::FunctionSpace * atlasFunctionSpace () const
 
atlas::FieldSet * atlasFieldSet () const
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

Geometryoperator= (const Geometry &)
 
void print (std::ostream &) const
 

Private Attributes

int keyGeom_
 
const eckit::mpi::Comm & comm_
 
eckit::LocalConfiguration atmconf_
 
bool initatm_
 
FmsInput fmsinput_
 
std::unique_ptr< atlas::functionspace::PointCloud > atlasFunctionSpace_
 
std::unique_ptr< atlas::FieldSet > atlasFieldSet_
 

Detailed Description

Geometry handles geometry for SOCA model.

Definition at line 47 of file Geometry.h.

Constructor & Destructor Documentation

◆ Geometry() [1/2]

soca::Geometry::Geometry ( const eckit::Configuration &  conf,
const eckit::mpi::Comm &  comm 
)
explicit

Definition at line 20 of file Geometry.cc.

Here is the call graph for this function:

◆ Geometry() [2/2]

soca::Geometry::Geometry ( const Geometry other)

Definition at line 48 of file Geometry.cc.

Here is the call graph for this function:

◆ ~Geometry()

soca::Geometry::~Geometry ( )

Definition at line 66 of file Geometry.cc.

Here is the call graph for this function:

Member Function Documentation

◆ atlasFieldSet()

atlas::FieldSet * soca::Geometry::atlasFieldSet ( ) const

Definition at line 102 of file Geometry.cc.

◆ atlasFunctionSpace()

atlas::FunctionSpace * soca::Geometry::atlasFunctionSpace ( ) const

Definition at line 98 of file Geometry.cc.

◆ begin()

GeometryIterator soca::Geometry::begin ( ) const

Definition at line 74 of file Geometry.cc.

Here is the call graph for this function:

◆ classname()

static const std::string soca::Geometry::classname ( )
inlinestatic

Definition at line 50 of file Geometry.h.

◆ end()

GeometryIterator soca::Geometry::end ( ) const

Definition at line 81 of file Geometry.cc.

◆ getAtmConf()

eckit::LocalConfiguration soca::Geometry::getAtmConf ( ) const
inline

Definition at line 65 of file Geometry.h.

◆ getAtmInit()

bool soca::Geometry::getAtmInit ( ) const
inline

Definition at line 66 of file Geometry.h.

◆ getComm()

const eckit::mpi::Comm& soca::Geometry::getComm ( ) const
inline

Definition at line 64 of file Geometry.h.

◆ gridgen()

void soca::Geometry::gridgen ( ) const

Definition at line 70 of file Geometry.cc.

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

◆ initAtm()

bool soca::Geometry::initAtm ( const eckit::Configuration &  conf) const
inline

Definition at line 67 of file Geometry.h.

◆ operator=()

Geometry& soca::Geometry::operator= ( const Geometry )
private

◆ print()

void soca::Geometry::print ( std::ostream &  os) const
private

Definition at line 94 of file Geometry.cc.

◆ toFortran() [1/2]

int& soca::Geometry::toFortran ( )
inline

Definition at line 61 of file Geometry.h.

Here is the caller graph for this function:

◆ toFortran() [2/2]

const int& soca::Geometry::toFortran ( ) const
inline

Definition at line 62 of file Geometry.h.

◆ variableSizes()

std::vector< size_t > soca::Geometry::variableSizes ( const oops::Variables &  vars) const

Definition at line 87 of file Geometry.cc.

Here is the call graph for this function:

◆ verticalCoord()

std::vector<double> soca::Geometry::verticalCoord ( std::string &  ) const
inline

Definition at line 59 of file Geometry.h.

Member Data Documentation

◆ atlasFieldSet_

std::unique_ptr<atlas::FieldSet> soca::Geometry::atlasFieldSet_
private

Definition at line 84 of file Geometry.h.

◆ atlasFunctionSpace_

std::unique_ptr<atlas::functionspace::PointCloud> soca::Geometry::atlasFunctionSpace_
private

Definition at line 83 of file Geometry.h.

◆ atmconf_

eckit::LocalConfiguration soca::Geometry::atmconf_
private

Definition at line 80 of file Geometry.h.

◆ comm_

const eckit::mpi::Comm& soca::Geometry::comm_
private

Definition at line 79 of file Geometry.h.

◆ fmsinput_

FmsInput soca::Geometry::fmsinput_
private

Definition at line 82 of file Geometry.h.

◆ initatm_

bool soca::Geometry::initatm_
private

Definition at line 81 of file Geometry.h.

◆ keyGeom_

int soca::Geometry::keyGeom_
private

Definition at line 78 of file Geometry.h.


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