From: Marco Tezzele Date: Mon, 13 Apr 2015 08:38:19 +0000 (+0200) Subject: fixed documentation of members in mapping_fe_field.cc and added a reference in vector... X-Git-Tag: v8.3.0-rc1~267^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92cb6afb9c0a2981ec4b35e904c33aa80a23ebec;p=dealii.git fixed documentation of members in mapping_fe_field.cc and added a reference in vector_tools --- diff --git a/include/deal.II/fe/mapping_fe_field.h b/include/deal.II/fe/mapping_fe_field.h index 6ecb446bb5..108565b16d 100644 --- a/include/deal.II/fe/mapping_fe_field.h +++ b/include/deal.II/fe/mapping_fe_field.h @@ -115,9 +115,7 @@ public: const ComponentMask mask=ComponentMask()); /** - * Copy constructor. Performs a deep copy, i.e. duplicates what #tensor_pols - * points to instead of simply copying the #tensor_pols pointer as done by a - * default copy constructor. + * Copy constructor. */ MappingFEField (const MappingFEField &mapping); @@ -583,20 +581,23 @@ protected: private: -// /** * Update internal degrees of * freedom. */ void update_internal_dofs(const typename Triangulation::cell_iterator &cell) const; - /** Reimplemented from Mapping. See the documentation of the base class for - * detailed information. + /** + * It stores the local degrees of freedom of the DH for each cell + * (i.e. euler_vector * dof_indices, see method update_internal_dofs for more + * clarifications.). */ mutable std::vector local_dofs; - /** Reimplemented from Mapping. See the documentation of the base class for - * detailed information. + /** + * It stores the degrees of freedom of the DH for each cell (i.e. + * cell->get_dof_indices(dof_indices), see method update_internal_dofs for more + * clarifications.). */ mutable std::vector dof_indices; @@ -616,13 +617,13 @@ private: /** Reimplemented from Mapping. See the documentation of the base class for * detailed information. */ - UpdateFlags + virtual UpdateFlags update_once (const UpdateFlags in) const; /** Reimplemented from Mapping. See the documentation of the base class for * detailed information. */ - UpdateFlags + virtual UpdateFlags update_each (const UpdateFlags in) const; /** Reimplemented from Mapping. See the documentation of the base class for diff --git a/include/deal.II/numerics/vector_tools.h b/include/deal.II/numerics/vector_tools.h index ee6c85d6f9..45ad3b067a 100644 --- a/include/deal.II/numerics/vector_tools.h +++ b/include/deal.II/numerics/vector_tools.h @@ -2223,7 +2223,7 @@ namespace VectorTools template void get_position_vector(const DH &dh, VECTOR &vector, - const ComponentMask mask=ComponentMask()); + const ComponentMask &mask=ComponentMask()); //@} diff --git a/include/deal.II/numerics/vector_tools.templates.h b/include/deal.II/numerics/vector_tools.templates.h index d156bb0ac3..e3115c4449 100644 --- a/include/deal.II/numerics/vector_tools.templates.h +++ b/include/deal.II/numerics/vector_tools.templates.h @@ -6885,7 +6885,7 @@ namespace VectorTools template void get_position_vector(const DH &dh, VECTOR &vector, - const ComponentMask mask) + const ComponentMask &mask) { AssertDimension(vector.size(), dh.n_dofs()); diff --git a/source/numerics/vector_tools_interpolate.inst.in b/source/numerics/vector_tools_interpolate.inst.in index 3c3bad4c85..cce075f855 100644 --- a/source/numerics/vector_tools_interpolate.inst.in +++ b/source/numerics/vector_tools_interpolate.inst.in @@ -44,7 +44,7 @@ for (VEC : SERIAL_VECTORS ; deal_II_dimension : DIMENSIONS; deal_II_space_dimens void get_position_vector (const DoFHandler&, VEC&, - const ComponentMask); + const ComponentMask&); \} #endif