atlas::CubedSphereGrid class

Specialization of Grid, where the grid is a cubed sphere.

                                   Grid
                                     |
                          +----------+----------+
                          |                     |
                   StructuredGrid        UnstructuredGrid
                          |
     +--------------------+-----------------------+
     |                    |                       |
ReducedGrid          GaussianGrid            RegularGrid
     |                 |     |                 |     |
     +--------+--------+     +--------+--------+     +-----+
              |                       |                    |
     ReducedGaussianGrid     RegularGaussianGrid    RegularLonLatGrid

Base classes

class Grid
Most general grid container.

Public types

using grid_t = grid::detail::grid::CubedSphere
using CubedSphereProjection = projection::detail::CubedSphereProjectionBase
using CubedSphereTiles = grid::CubedSphereTiles
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

Constructors, destructors, conversion operators

CubedSphereGrid()
CubedSphereGrid(const Grid&)
CubedSphereGrid(const Grid::Implementation*)
CubedSphereGrid(const std::string& name)
CubedSphereGrid(const Config&)
CubedSphereGrid(const int&, const Projection& = Projection())
operator bool() const

Public functions

auto valid() const -> bool
void xyt(idx_t i, idx_t j, idx_t t, double xyt[]) const
auto xyt(idx_t i, idx_t j, idx_t t) const -> PointXY
void xy(idx_t i, idx_t j, idx_t t, double xy[]) const
auto xy(idx_t i, idx_t j, idx_t t) const -> PointXY
void lonlat(idx_t i, idx_t j, idx_t t, double lonlat[]) const
auto lonlat(idx_t i, idx_t j, idx_t t) const -> PointLonLat
auto N() const -> int
auto tiles() const -> CubedSphereTiles
return tiles object.
auto cubedSphereProjection() const -> const CubedSphereProjection&
return cubed sphere projection object.
auto tij() const -> temporary::IterateTIJ
auto stagger() const -> const std::string&
auto xy() const -> IterateXY
auto lonlat() const -> IterateLonLat
auto xy() const -> IterateXY
auto lonlat() const -> IterateLonLat
auto operator==(const Grid& other) const -> bool
auto operator!=(const Grid& other) const -> bool
auto size() const -> idx_t
auto projection() const -> const Projection&
auto domain() const -> const Domain&
auto lonlatBoundingBox() const -> RectangularLonLatDomain
auto name() const -> std::string
auto type() const -> std::string
auto uid() const -> std::string
void hash(eckit::Hash& h) const
Adds to the hash the information that makes this Grid unique.
auto footprint() const -> size_t
auto spec() const -> Spec
auto meshgenerator() const -> Config
auto partitioner() const -> Config

Typedef documentation

using atlas::CubedSphereGrid::Config = util::Config

using atlas::CubedSphereGrid::Spec = util::Config

using atlas::CubedSphereGrid::Domain = atlas::Domain

using atlas::CubedSphereGrid::Projection = atlas::Projection

using atlas::CubedSphereGrid::PointXY = atlas::PointXY

using atlas::CubedSphereGrid::PointLonLat = atlas::PointLonLat

using atlas::CubedSphereGrid::IterateXY = grid::IterateXY

using atlas::CubedSphereGrid::IterateLonLat = grid::IterateLonLat

Function documentation

IterateXY atlas::CubedSphereGrid::xy() const

IterateLonLat atlas::CubedSphereGrid::lonlat() const

bool atlas::CubedSphereGrid::operator==(const Grid& other) const

bool atlas::CubedSphereGrid::operator!=(const Grid& other) const

idx_t atlas::CubedSphereGrid::size() const

const Projection& atlas::CubedSphereGrid::projection() const

const Domain& atlas::CubedSphereGrid::domain() const

RectangularLonLatDomain atlas::CubedSphereGrid::lonlatBoundingBox() const

std::string atlas::CubedSphereGrid::name() const

std::string atlas::CubedSphereGrid::type() const

std::string atlas::CubedSphereGrid::uid() const

void atlas::CubedSphereGrid::hash(eckit::Hash& h) const

Adds to the hash the information that makes this Grid unique.

size_t atlas::CubedSphereGrid::footprint() const

Spec atlas::CubedSphereGrid::spec() const

Config atlas::CubedSphereGrid::meshgenerator() const

Config atlas::CubedSphereGrid::partitioner() const