From: Wolfgang Bangerth Date: Tue, 10 Oct 2023 16:51:16 +0000 (-0600) Subject: Minor doc updates. X-Git-Tag: relicensing~405^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16116%2Fhead;p=dealii.git Minor doc updates. --- 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