From: Wolfgang Bangerth Date: Sun, 26 Jun 2016 04:56:47 +0000 (-0500) Subject: Several matching updates in MappingQ{,1}Eulerian. X-Git-Tag: v8.5.0-rc1~951^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2714%2Fhead;p=dealii.git Several matching updates in MappingQ{,1}Eulerian. --- diff --git a/doc/news/changes.h b/doc/news/changes.h index f13477b36d..3ca965d868 100644 --- a/doc/news/changes.h +++ b/doc/news/changes.h @@ -139,8 +139,8 @@ inconvenience this causes.

General

    -
  1. Changed: As MappingQEulerian before, MappingQ1Eulerian has gained - a second constructor that reverts the order of the arguments to indicate +
  2. Changed: Similar to MappingQEulerian, MappingQ1Eulerian has gained + a second constructor that reverses the order of the arguments to indicate which DoFHandler a vector is based on. The old constructor is now deprecated and will be removed in a future version.
    diff --git a/include/deal.II/fe/mapping_q1_eulerian.h b/include/deal.II/fe/mapping_q1_eulerian.h index 69f7302f82..9809a40c9c 100644 --- a/include/deal.II/fe/mapping_q1_eulerian.h +++ b/include/deal.II/fe/mapping_q1_eulerian.h @@ -68,8 +68,8 @@ template class Vector; * FESystem fe(FE_Q(1), dim); * DoFHandler flowfield_dof_handler(triangulation); * flowfield_dof_handler.distribute_dofs(fe); - * Vector map_points(flowfield_dof_handler.n_dofs()); - * MappingQ1Eulerian mymapping(map_points, flowfield_dof_handler); + * Vector displacement_field(flowfield_dof_handler.n_dofs()); + * MappingQ1Eulerian mymapping(flowfield_dof_handler, displacement_field); * @endcode * * Note that since the vector of shift values and the dof handler are only @@ -77,11 +77,8 @@ template class Vector; * whenever you use this object, the given objects still represent valid data. * * To enable the use of the MappingQ1Eulerian class also in the context of - * parallel codes using the PETSc wrapper classes, the type of the vector can - * be specified as template parameter EulerVectorType Not specifying - * this template argument in applications using the PETSc vector classes leads - * to the construction of a copy of the vector which is not acccessible - * afterwards! + * parallel codes using the PETSc or Trilinos wrapper classes, the type of + * the vector can be specified as template parameter VectorType. * * For more information about the spacedim template parameter check * the documentation of FiniteElement or the one of Triangulation. diff --git a/include/deal.II/fe/mapping_q_eulerian.h b/include/deal.II/fe/mapping_q_eulerian.h index f046f690b5..c7de1fd904 100644 --- a/include/deal.II/fe/mapping_q_eulerian.h +++ b/include/deal.II/fe/mapping_q_eulerian.h @@ -81,11 +81,8 @@ template class Vector; * data. * * To enable the use of the MappingQ1Eulerian class also in the context of - * parallel codes using the PETSc wrapper classes, the type of the vector can - * be specified as template parameter EulerVectorType Not specifying - * this template argument in applications using the PETSc vector classes leads - * to the construction of a copy of the vector which is not accessible - * afterwards! + * parallel codes using the PETSc or Trilinos wrapper classes, the type + * of the vector can be specified as template parameter VectorType. * * @author Joshua White, 2008 */