42 for (std::size_t i = 0; i <
_nodes.size(); i++)
69 const std::string& name,
70 const std::vector<Node*>& nodes,
71 const std::vector<std::size_t>& glb_node_ids,
72 const std::vector<Element*>& elements,
74 const std::size_t n_global_base_nodes,
75 const std::size_t n_global_nodes,
76 const std::size_t n_regular_nodes,
77 std::vector<std::size_t>&& n_regular_base_nodes_at_rank,
78 std::vector<std::size_t>&& n_regular_high_order_nodes_at_rank);
105 int const partition_id)
const
114 std::size_t
getPartitionID(
const std::size_t global_node_id)
const;
Definition of the Mesh class.
Definition of the Node class.
std::size_t computeNumberOfBaseNodes() const
Get the number of base nodes.
std::size_t getNumberOfNodes() const
Get the number of nodes.
std::vector< Node * > _nodes
const bool _is_single_thread
std::size_t _n_global_base_nodes
Number of the nodes of the global mesh linear interpolations.
std::size_t getNumberOfRegularNodes() const
Get the number of all regular nodes of the partition.
std::size_t getPartitionID(const std::size_t global_node_id) const
bool isGhostNode(const std::size_t node_id) const
Check whether a node with ID of node_id is a ghost node.
std::vector< std::size_t > _global_node_ids
Global IDs of nodes of a partition.
std::vector< std::size_t > _n_regular_base_nodes_at_rank
std::size_t getNumberOfRegularHighOrderNodesAtRank(int const partition_id) const
std::size_t _n_regular_nodes
Number of the all regular nodes.
std::vector< std::size_t > _n_regular_high_order_nodes_at_rank
Gathered numbers of the all regular high order nodes of all partitions.
std::size_t getGlobalNodeID(const std::size_t node_id) const
Get the global node ID of a node with its local ID.
std::size_t getNumberOfGlobalNodes() const
Get the number of all nodes of the global mesh.
bool isForSingleThread() const
std::size_t getNumberOfGlobalBaseNodes() const
Get the number of nodes of the global mesh for linear elements.
std::size_t getNumberOfRegularBaseNodesAtRank(int const partition_id) const
std::vector< int > _end_node_id_at_rank
Gathered the end node id of each rank.
NodePartitionedMesh(const Mesh &mesh)
int getNumberOfPartitions() const
std::size_t getMaximumNConnectedNodesToNode() const
Get the maximum number of connected nodes to node.
std::size_t _n_global_nodes
Number of all nodes of the global mesh.
Property manager on mesh items. Class Properties manages scalar, vector or matrix properties....