Skip to content
Snippets Groups Projects
Commit 87c4e7cb authored by wenqing's avatar wenqing Committed by Dmitri Naumov
Browse files

[Mesh] Fixed a bug in NodePartitionedMesh.

parent 1e7c561f
No related branches found
No related tags found
No related merge requests found
......@@ -96,11 +96,11 @@ class NodePartitionedMesh : public Mesh
bool isGhostNode(const std::size_t node_id) const
{
if(node_id < _n_active_base_nodes)
return true;
return false;
else if(node_id >= _n_base_nodes && node_id < getLargestActiveNodeID() )
return true;
else
return false;
else
return true;
}
/// Get the largest ID of active nodes for higher order elements in a partition.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment