atlas::ReducedGaussianGrid class

Specialization of ReducedGrid, where rows follow a Gaussian distribution.

Base classes

template<class Grid>
class Gaussian<ReducedGrid>

Public types

using XSpace = grid_t::XSpace
using YSpace = grid_t::YSpace
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

ReducedGaussianGrid(const std::initializer_list<idx_t>& pl)
ReducedGaussianGrid(const std::vector<long>& pl, const Domain& = Domain())
ReducedGaussianGrid(const std::vector<int>& pl, const Domain& = Domain())
ReducedGaussianGrid(const std::vector<long>& pl, const Projection&)
ReducedGaussianGrid(const std::vector<int>& pl, const Projection&)
operator bool() const
Grid() defaulted
Grid(const std::string& name, const Domain& = Domain())
Grid(const std::string& name, const Projection&, const Domain& = Domain())
Grid(const ReducedGrid&, const Domain&)
Grid(const Config&)
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&)

Public functions

auto valid() const -> bool
auto N() const -> idx_t
auto ny() const -> idx_t
auto nx(idx_t j) const -> idx_t
auto nx() const -> const std::vector<idx_t>&
auto nxmax() const -> idx_t
auto y() const -> const std::vector<double>&
auto y(idx_t j) const -> double
y coordinate for given grid row {j}
auto x(idx_t i, idx_t j) const -> double
x coordinate for given grid point {i,j}
auto dx(idx_t j) const -> double
increment in x for a given grid row {j}
auto xmin(idx_t j) const -> double
x coordinate of beginning of a given grid row {j}
void xy(idx_t i, idx_t j, double xy[]) const
auto xy(idx_t i, idx_t j) const -> PointXY
auto xy() const -> IterateXY
auto xy() const -> IterateXY
void lonlat(idx_t i, idx_t j, double lonlat[]) const
auto lonlat(idx_t i, idx_t j) const -> PointLonLat
auto lonlat() const -> IterateLonLat
auto lonlat() const -> IterateLonLat
auto reduced() const -> bool
auto regular() const -> bool
auto periodic() const -> bool
auto xspace() const -> const XSpace&
auto yspace() const -> const YSpace&
auto index(idx_t i, idx_t j) const -> gidx_t
void index2ij(gidx_t gidx, idx_t& i, idx_t& j) const
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::ReducedGaussianGrid::Config = util::Config

using atlas::ReducedGaussianGrid::Spec = util::Config

using atlas::ReducedGaussianGrid::Domain = atlas::Domain

using atlas::ReducedGaussianGrid::Projection = atlas::Projection

using atlas::ReducedGaussianGrid::PointXY = atlas::PointXY

using atlas::ReducedGaussianGrid::PointLonLat = atlas::PointLonLat

using atlas::ReducedGaussianGrid::IterateXY = grid::IterateXY

using atlas::ReducedGaussianGrid::IterateLonLat = grid::IterateLonLat

Function documentation

IterateXY atlas::ReducedGaussianGrid::xy() const

IterateLonLat atlas::ReducedGaussianGrid::lonlat() const

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

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

idx_t atlas::ReducedGaussianGrid::size() const

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

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

RectangularLonLatDomain atlas::ReducedGaussianGrid::lonlatBoundingBox() const

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

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

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

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

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

size_t atlas::ReducedGaussianGrid::footprint() const

Spec atlas::ReducedGaussianGrid::spec() const

Config atlas::ReducedGaussianGrid::meshgenerator() const

Config atlas::ReducedGaussianGrid::partitioner() const