]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Return internal cell_data in RPE 15150/head
authorMarco Feder <marco.feder@sissa.it>
Thu, 27 Apr 2023 13:38:49 +0000 (15:38 +0200)
committerMarco Feder <marco.feder@sissa.it>
Fri, 28 Apr 2023 14:30:28 +0000 (16:30 +0200)
include/deal.II/base/mpi_remote_point_evaluation.h
source/base/mpi_remote_point_evaluation.cc

index 7f3c1219780bc9839d97be07de8030ed71547bf5..7dfbf220f99e415c50ba0307f701650c2905b446 100644 (file)
@@ -108,6 +108,13 @@ namespace Utilities
         std::vector<Point<dim>> 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.
index debb3128f66de8530bc5b5c7cb3bd395c202fd25..656be3e2a6940e111229340b0c923b7a6b34fae3 100644 (file)
@@ -200,6 +200,16 @@ namespace Utilities
     }
 
 
+
+    template <int dim, int spacedim>
+    const typename RemotePointEvaluation<dim, spacedim>::CellData &
+    RemotePointEvaluation<dim, spacedim>::get_cell_data() const
+    {
+      return cell_data;
+    }
+
+
+
     template <int dim, int spacedim>
     const std::vector<unsigned int> &
     RemotePointEvaluation<dim, spacedim>::get_point_ptrs() const

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.