atlas::UnstructuredGrid class

Base classes

class Grid
Most general grid container.

Public types

using grid_t = grid::detail::grid::Unstructured
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

UnstructuredGrid()
UnstructuredGrid(const Grid&)
UnstructuredGrid(const Config&)
UnstructuredGrid(const Grid::Implementation*)
UnstructuredGrid(std::vector<PointXY>*)
UnstructuredGrid(std::initializer_list<PointXY>)
UnstructuredGrid(const Grid&, const Domain&)
operator bool() const
UnstructuredGrid(std::vector<PointXY>&&)
UnstructuredGrid(const std::vector<PointXY>&)

Public functions

auto valid() const -> bool
void xy(idx_t n, double xy[]) const
void lonlat(idx_t n, double lonlat[]) const
auto xy(idx_t n) const -> PointXY
auto lonlat(idx_t n) const -> PointLonLat
auto lonlat() const -> IterateLonLat
auto xy() const -> IterateXY
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::UnstructuredGrid::Config = util::Config

using atlas::UnstructuredGrid::Spec = util::Config

using atlas::UnstructuredGrid::Domain = atlas::Domain

using atlas::UnstructuredGrid::Projection = atlas::Projection

using atlas::UnstructuredGrid::PointXY = atlas::PointXY

using atlas::UnstructuredGrid::PointLonLat = atlas::PointLonLat

using atlas::UnstructuredGrid::IterateXY = grid::IterateXY

using atlas::UnstructuredGrid::IterateLonLat = grid::IterateLonLat

Function documentation

IterateXY atlas::UnstructuredGrid::xy() const

IterateLonLat atlas::UnstructuredGrid::lonlat() const

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

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

idx_t atlas::UnstructuredGrid::size() const

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

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

RectangularLonLatDomain atlas::UnstructuredGrid::lonlatBoundingBox() const

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

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

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

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

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

size_t atlas::UnstructuredGrid::footprint() const

Spec atlas::UnstructuredGrid::spec() const

Config atlas::UnstructuredGrid::meshgenerator() const

Config atlas::UnstructuredGrid::partitioner() const