From d3b13129eb9b85316c5d9ceef32833e9cc647682 Mon Sep 17 00:00:00 2001 From: absingh <absingh@mpi-cbg.de> Date: Fri, 28 Oct 2022 14:41:05 +0530 Subject: [PATCH] adding getSubset for getting the subset number --- src/Vector/vector_dist_subset.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Vector/vector_dist_subset.hpp b/src/Vector/vector_dist_subset.hpp index e2ac7e240..dec6e9464 100644 --- a/src/Vector/vector_dist_subset.hpp +++ b/src/Vector/vector_dist_subset.hpp @@ -28,6 +28,11 @@ class vector_dist_ws : public vector_dist<dim,St,typename AggregateAppend<int,pr this->template getProp<flag_prop::value>(key) = sub_id; } + int getSubset(vect_dist_key_dx key) + { + return this->template getProp<flag_prop::value>(key); + } + void ghost_get_subset() { this->template ghost_get<flag_prop::value>(NO_POSITION | SKIP_LABELLING); -- GitLab