atlas
Public Member Functions | Protected Member Functions | List of all members
atlas::RegularLonLatGrid Class Reference

Specialization of RegularGrid, assuming a global domain. More...

#include <StructuredGrid.h>

Inheritance diagram for atlas::RegularLonLatGrid:
Inheritance graph
[legend]
Collaboration diagram for atlas::RegularLonLatGrid:
Collaboration graph
[legend]

Public Member Functions

 operator bool () const
 
bool valid () const
 
double lon (idx_t i) const
 
double lat (idx_t j) const
 
PointLonLat lonlat (idx_t i, idx_t j) const
 
bool standard () const
 
bool shifted () const
 
bool shiftedLon () const
 
bool shiftedLat () const
 
- Public Member Functions inherited from atlas::RegularGrid
 operator bool () const
 
bool valid () const
 
idx_t nx () const
 
double x (idx_t i) const
 
PointXY xy (idx_t i, idx_t j) const
 
- Public Member Functions inherited from atlas::StructuredGrid
 StructuredGrid (const Grid &)
 
 StructuredGrid (const Grid::Implementation *)
 
 StructuredGrid (const std::string &name, const Domain &=Domain())
 
 StructuredGrid (const std::string &name, const Projection &, const Domain &=Domain())
 
 StructuredGrid (const Config &)
 
 StructuredGrid (const XSpace &, const YSpace &, const Projection &=Projection(), const Domain &=Domain())
 
 StructuredGrid (const Grid &, const Domain &)
 
 operator bool () const
 
bool valid () const
 
idx_t ny () const
 
idx_t nx (idx_t j) const
 
const std::vector< idx_t > & nx () const
 
idx_t nxmax () const
 
const std::vector< double > & y () const
 
double x (idx_t i, idx_t j) const
 x coordinate for given grid point {i,j}
 
double y (idx_t j) const
 y coordinate for given grid row {j}
 
double dx (idx_t j) const
 increment in x for a given grid row {j}
 
double xmin (idx_t j) const
 x coordinate of beginning of a given grid row {j}
 
void xy (idx_t i, idx_t j, double xy[]) const
 
void lonlat (idx_t i, idx_t j, double lonlat[]) const
 
PointXY xy (idx_t i, idx_t j) const
 
PointLonLat lonlat (idx_t i, idx_t j) const
 
bool reduced () const
 
bool regular () const
 
bool periodic () const
 
const XSpacexspace () const
 
const YSpaceyspace () const
 
gidx_t index (idx_t i, idx_t j) const
 
void index2ij (gidx_t gidx, idx_t &i, idx_t &j) const
 
- Public Member Functions inherited from atlas::Grid
IterateXY xy () const
 
IterateLonLat lonlat () const
 
 Grid (const std::string &name, const Domain &=Domain())
 
 Grid (const std::string &name, const Projection &, const Domain &=Domain())
 
 Grid (const Grid &, const Domain &)
 
 Grid (const Config &)
 
bool operator== (const Grid &other) const
 
bool operator!= (const Grid &other) const
 
idx_t size () const
 
const Projectionprojection () const
 
const Domaindomain () const
 
RectangularLonLatDomain lonlatBoundingBox () const
 
std::string name () const
 
std::string uid () const
 
void hash (eckit::Hash &h) const
 Adds to the hash the information that makes this Grid unique.
 
size_t footprint () const
 
Spec spec () const
 
Config meshgenerator () const
 
Config partitioner () const
 

Protected Member Functions

bool global_lonlat () const
 
bool standard_lon () const
 
bool standard_lat () const
 
bool shifted_lon () const
 
bool shifted_lat () const
 

Additional Inherited Members

- Public Types inherited from atlas::StructuredGrid
using grid_t = grid::detail::grid::Structured
 
using XSpace = grid_t::XSpace
 
using YSpace = grid_t::YSpace
 
- Public Types inherited from atlas::Grid
using Config = util::Config
 
using Spec = util::Config
 
using Domain = atlas::Domain
 
using Projection = atlas::Projection
 
using PointXY = atlas::PointXY
 
using PointLonLat = atlas::PointLonLat
 
using IterateXY = grid::IterateXY
 
using IterateLonLat = grid::IterateLonLat
 

Detailed Description

Specialization of RegularGrid, assuming a global domain.


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