class
#include <atlas/grid/StructuredGrid.h>
HealpixGrid Specialization of StructuredGrid, assuming a global domain.
Base classes
- class StructuredGrid
- Specialization of Grid, where the grid can be represented by rows with uniform distribution.
Public types
- using grid_t = grid::detail::grid::Healpix
- 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
- HealpixGrid(const Grid&)
-
HealpixGrid(int N,
const std::
string& ordering = "ring") - operator bool() const
Public functions
- auto valid() const -> bool
- auto N() const -> long
-
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:: HealpixGrid:: Config = util:: Config
#include <atlas/grid/Grid.h>
using atlas:: HealpixGrid:: Spec = util:: Config
#include <atlas/grid/Grid.h>
using atlas:: HealpixGrid:: Domain = atlas:: Domain
#include <atlas/grid/Grid.h>
using atlas:: HealpixGrid:: Projection = atlas:: Projection
#include <atlas/grid/Grid.h>
using atlas:: HealpixGrid:: PointXY = atlas:: PointXY
#include <atlas/grid/Grid.h>
using atlas:: HealpixGrid:: PointLonLat = atlas:: PointLonLat
#include <atlas/grid/Grid.h>
using atlas:: HealpixGrid:: IterateXY = grid:: IterateXY
#include <atlas/grid/Grid.h>
using atlas:: HealpixGrid:: IterateLonLat = grid:: IterateLonLat
#include <atlas/grid/Grid.h>
Function documentation
IterateXY atlas:: HealpixGrid:: xy() const
#include <atlas/grid/Grid.h>
IterateLonLat atlas:: HealpixGrid:: lonlat() const
#include <atlas/grid/Grid.h>
bool atlas:: HealpixGrid:: operator==(const Grid& other) const
#include <atlas/grid/Grid.h>
bool atlas:: HealpixGrid:: operator!=(const Grid& other) const
#include <atlas/grid/Grid.h>
idx_ t atlas:: HealpixGrid:: size() const
#include <atlas/grid/Grid.h>
const Projection& atlas:: HealpixGrid:: projection() const
#include <atlas/grid/Grid.h>
const Domain& atlas:: HealpixGrid:: domain() const
#include <atlas/grid/Grid.h>
RectangularLonLatDomain atlas:: HealpixGrid:: lonlatBoundingBox() const
#include <atlas/grid/Grid.h>
std:: string atlas:: HealpixGrid:: name() const
#include <atlas/grid/Grid.h>
std:: string atlas:: HealpixGrid:: type() const
#include <atlas/grid/Grid.h>
std:: string atlas:: HealpixGrid:: uid() const
#include <atlas/grid/Grid.h>
void atlas:: HealpixGrid:: hash(eckit:: Hash& h) const
#include <atlas/grid/Grid.h>
Adds to the hash the information that makes this Grid unique.
size_t atlas:: HealpixGrid:: footprint() const
#include <atlas/grid/Grid.h>
Spec atlas:: HealpixGrid:: spec() const
#include <atlas/grid/Grid.h>
Config atlas:: HealpixGrid:: meshgenerator() const
#include <atlas/grid/Grid.h>
Config atlas:: HealpixGrid:: partitioner() const
#include <atlas/grid/Grid.h>