From ea2b63881c6e00e72133ea90fe0ec8ed19a82a01 Mon Sep 17 00:00:00 2001 From: Marco Feder Date: Thu, 27 Apr 2023 15:38:49 +0200 Subject: [PATCH] Return internal cell_data in RPE --- include/deal.II/base/mpi_remote_point_evaluation.h | 7 +++++++ source/base/mpi_remote_point_evaluation.cc | 10 ++++++++++ 2 files changed, 17 insertions(+) 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 -- 2.39.5