class
#include <atlas/mesh/Mesh.h>
Mesh
Public types
-
using Nodes = mesh::
Nodes -
using Cells = mesh::
Cells -
using Edges = mesh::
Edges -
using HybridElements = mesh::
HybridElements - using PartitionGraph = mesh::detail::PartitionGraph
-
using Polygon = mesh::
PartitionPolygon -
using Polygons = util::
PartitionPolygons
Constructors, destructors, conversion operators
- Mesh()
- operator bool() const
-
Mesh(const Grid&,
const eckit::
Configuration& = util:: NoConfig()) - Generate a mesh from a Grid with recommended mesh generator and partitioner strategy.
-
Mesh(const Grid&,
const grid::
Partitioner&, const eckit:: Configuration& = util:: NoConfig()) -
Mesh(eckit::
Stream&) explicit - Construct a mesh from a Stream (serialization)
Public functions
-
void encode(eckit::
Stream& s) const - Serialization to Stream.
-
auto metadata() const -> const util::
Metadata& -
auto metadata() -> util::
Metadata& - auto nodes() const -> const Nodes&
- auto nodes() -> Nodes&
- auto cells() const -> const Cells&
- auto cells() -> Cells&
- auto edges() const -> const Edges&
- auto edges() -> Edges&
- auto facets() const -> const HybridElements&
- auto facets() -> HybridElements&
- auto ridges() const -> const HybridElements&
- auto ridges() -> HybridElements&
- auto peaks() const -> const HybridElements&
- auto peaks() -> HybridElements&
- auto generated() const -> bool
- auto footprint() const -> size_t
- Return the memory footprint of the mesh.
-
auto part() const -> idx_
t -
auto nb_parts() const -> idx_
t -
auto nb_partitions() const -> idx_
t -
auto mpi_comm() const -> std::
string - void updateDevice() const
- void updateHost() const
- void syncHostDevice() const
- auto projection() const -> const Projection&
- auto partitionGraph() const -> const PartitionGraph&
- auto nearestNeighbourPartitions() const -> PartitionGraph::Neighbours
-
auto polygon(idx_
t halo = 0) const -> const Polygon& - auto polygons() const -> const Polygons&
- auto grid() const -> const Grid
Friends
-
auto operator<<(std::
ostream& s, const Mesh& p) -> std:: ostream&