From: Marco Feder Date: Thu, 27 Apr 2023 13:38:49 +0000 (+0200) Subject: Return internal cell_data in RPE X-Git-Tag: v9.5.0-rc1~279^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15150%2Fhead;p=dealii.git Return internal cell_data in RPE --- diff --git a/include/deal.II/base/mpi_remote_point_evaluation.h b/include/deal.II/base/mpi_remote_point_evaluation.h index 7f3c121978..7dfbf220f9 100644 --- a/include/deal.II/base/mpi_remote_point_evaluation.h +++ b/include/deal.II/base/mpi_remote_point_evaluation.h @@ -108,6 +108,13 @@ namespace Utilities std::vector> reference_point_values; }; + /** + * Return internal data structure storing the data of points + * positioned in cells. + */ + const CellData & + get_cell_data() const; + /** * Evaluate function @p evaluation_function in the given points and * triangulation. The result is stored in @p output. diff --git a/source/base/mpi_remote_point_evaluation.cc b/source/base/mpi_remote_point_evaluation.cc index debb3128f6..656be3e2a6 100644 --- a/source/base/mpi_remote_point_evaluation.cc +++ b/source/base/mpi_remote_point_evaluation.cc @@ -200,6 +200,16 @@ namespace Utilities } + + template + const typename RemotePointEvaluation::CellData & + RemotePointEvaluation::get_cell_data() const + { + return cell_data; + } + + + template const std::vector & RemotePointEvaluation::get_point_ptrs() const