diff --git a/MeshLib/NodePartitionedMesh.h b/MeshLib/NodePartitionedMesh.h
index d3aeb0ba95e1d8685e441d801db5f7f74496eaac..555f860e0d8304c89d6ac2c3cbdc8218539649ee 100644
--- a/MeshLib/NodePartitionedMesh.h
+++ b/MeshLib/NodePartitionedMesh.h
@@ -80,6 +80,12 @@ class NodePartitionedMesh : public Mesh
             return _n_global_nodes;
         }
 
+        /// Get the global node ID of a node with its local ID.
+        std::size_t getGlobalNodeID(const std::size_t node_id) const
+        {
+            return _global_node_ids[node_id];
+        }
+
         /// Get the number of the active nodes of the partition for linear elements.
         std::size_t getNActiveBaseNodes() const
         {