class
#include <atlas/grid/UnstructuredGrid.h>
UnstructuredGrid
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
#include <atlas/grid/Grid.h>
using atlas:: UnstructuredGrid:: Spec = util:: Config
#include <atlas/grid/Grid.h>
using atlas:: UnstructuredGrid:: Domain = atlas:: Domain
#include <atlas/grid/Grid.h>
using atlas:: UnstructuredGrid:: Projection = atlas:: Projection
#include <atlas/grid/Grid.h>
using atlas:: UnstructuredGrid:: PointXY = atlas:: PointXY
#include <atlas/grid/Grid.h>
using atlas:: UnstructuredGrid:: PointLonLat = atlas:: PointLonLat
#include <atlas/grid/Grid.h>
using atlas:: UnstructuredGrid:: IterateXY = grid:: IterateXY
#include <atlas/grid/Grid.h>
using atlas:: UnstructuredGrid:: IterateLonLat = grid:: IterateLonLat
#include <atlas/grid/Grid.h>
Function documentation
IterateXY atlas:: UnstructuredGrid:: xy() const
#include <atlas/grid/Grid.h>
IterateLonLat atlas:: UnstructuredGrid:: lonlat() const
#include <atlas/grid/Grid.h>
bool atlas:: UnstructuredGrid:: operator==(const Grid& other) const
#include <atlas/grid/Grid.h>
bool atlas:: UnstructuredGrid:: operator!=(const Grid& other) const
#include <atlas/grid/Grid.h>
idx_ t atlas:: UnstructuredGrid:: size() const
#include <atlas/grid/Grid.h>
const Projection& atlas:: UnstructuredGrid:: projection() const
#include <atlas/grid/Grid.h>
const Domain& atlas:: UnstructuredGrid:: domain() const
#include <atlas/grid/Grid.h>
RectangularLonLatDomain atlas:: UnstructuredGrid:: lonlatBoundingBox() const
#include <atlas/grid/Grid.h>
std:: string atlas:: UnstructuredGrid:: name() const
#include <atlas/grid/Grid.h>
std:: string atlas:: UnstructuredGrid:: type() const
#include <atlas/grid/Grid.h>
std:: string atlas:: UnstructuredGrid:: uid() const
#include <atlas/grid/Grid.h>
void atlas:: UnstructuredGrid:: hash(eckit:: Hash& h) const
#include <atlas/grid/Grid.h>
Adds to the hash the information that makes this Grid unique.
size_t atlas:: UnstructuredGrid:: footprint() const
#include <atlas/grid/Grid.h>
Spec atlas:: UnstructuredGrid:: spec() const
#include <atlas/grid/Grid.h>
Config atlas:: UnstructuredGrid:: meshgenerator() const
#include <atlas/grid/Grid.h>
Config atlas:: UnstructuredGrid:: partitioner() const
#include <atlas/grid/Grid.h>