atlas::mesh::Nodes class

Nodes class that owns a collection of fields defined in nodes of the mesh.

Public types

using Connectivity = IrregularConnectivity
using Topology = util::Topology

Constructors, destructors, conversion operators

Nodes()
Construct "size" nodes.

Public functions

auto field(const std::string& name) const -> const Field&
auto field(const std::string& name) -> Field&
auto has_field(const std::string& name) const -> bool
auto field(idx_t) const -> const Field&
auto field(idx_t) -> Field&
auto nb_fields() const -> idx_t
auto metadata() const -> const util::Metadata&
auto metadata() -> util::Metadata&
auto global_index() const -> const Field&
auto global_index() -> Field&
auto remote_index() const -> const Field&
auto remote_index() -> Field&
auto partition() const -> const Field&
auto partition() -> Field&
auto xy() const -> const Field&
auto xy() -> Field&
auto lonlat() const -> const Field&
auto lonlat() -> Field&
auto ghost() const -> const Field&
auto ghost() -> Field&
auto flags() const -> const Field&
auto flags() -> Field&
auto halo() const -> const Field&
auto halo() -> Field&
auto edge_connectivity() const -> const Connectivity&
Node to Edge connectivity table.
auto edge_connectivity() -> Connectivity&
auto cell_connectivity() const -> const Connectivity&
Node to Cell connectivity table.
auto cell_connectivity() -> Connectivity&
auto connectivity(const std::string& name) const -> const Connectivity&
auto connectivity(const std::string& name) -> Connectivity&
auto has_connectivity(std::string name) const -> bool
auto size() const -> idx_t
auto add(const Field&) -> Field
void resize(idx_t)
void remove_field(const std::string& name)
auto add(Connectivity*) -> Connectivity&
auto footprint() const -> size_t
Return the memory footprint of the Nodes.
void updateDevice() const
void updateHost() const
void syncHostDevice() const

Friends

auto operator<<(std::ostream& s, const Nodes& p) -> std::ostream&