From 51a8e667714af677248cb25c2be7491fbfafbabb Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 10 Oct 2023 10:51:16 -0600 Subject: [PATCH] Minor doc updates. --- include/deal.II/base/function_lib.h | 14 ++++++++++++++ include/deal.II/base/table.h | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/include/deal.II/base/function_lib.h b/include/deal.II/base/function_lib.h index 075c6541c7..43118d1145 100644 --- a/include/deal.II/base/function_lib.h +++ b/include/deal.II/base/function_lib.h @@ -1482,6 +1482,13 @@ namespace Functions * separately. In other words, there is no need to keep the original object * from which this object could copy its information, but it might as well * take over ("move") the data. + * + * Moving data also enables using tables that are located in shared memory + * between multiple MPI processes, rather than copying the data from + * shared memory into local memory whenever one creates an + * InterpolatedTensorProductGridData object. See the + * TableBase::replicate_across_communicator() function on how to share a + * data set between multiple processes. */ InterpolatedTensorProductGridData( std::array, dim> &&coordinate_values, @@ -1620,6 +1627,13 @@ namespace Functions * separately. In other words, there is no need to keep the original object * from which this object could copy its information, but it might as well * take over ("move") the data. + * + * Moving data also enables using tables that are located in shared memory + * between multiple MPI processes, rather than copying the data from + * shared memory into local memory whenever one creates an + * InterpolatedUniformGridData object. See the + * TableBase::replicate_across_communicator() function on how to share a + * data set between multiple processes. */ InterpolatedUniformGridData( std::array, dim> &&interval_endpoints, diff --git a/include/deal.II/base/table.h b/include/deal.II/base/table.h index e7f9170f50..6fa33782f1 100644 --- a/include/deal.II/base/table.h +++ b/include/deal.II/base/table.h @@ -671,7 +671,7 @@ public: * process and possibly ghost elements that are mirrored from its owning * process to other processes. Rather, the elements of the current object are * simply copied to the other processes, and it is useful to think of this - * operation as creating a set of `const` AlignedVector objects on all + * operation as creating a set of `const` TableBase objects on all * processes that should not be changed any more after the replication * operation, as this is the only way to ensure that the vectors remain the * same on all processes. This is particularly true because of the use of -- 2.39.5