atlas::Grid class

Most general grid container.

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

Derived classes

class CubedSphereGrid
Specialization of Grid, where the grid is a cubed sphere.
template<class Grid>
class Gaussian
class StructuredGrid
Specialization of Grid, where the grid can be represented by rows with uniform distribution.
class UnstructuredGrid

Public types

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

Grid() defaulted
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&)

Public functions

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