]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fixed documentation of members in mapping_fe_field.cc and added a reference in vector...
authorMarco Tezzele <marcotez@gmail.com>
Mon, 13 Apr 2015 08:38:19 +0000 (10:38 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Thu, 16 Apr 2015 14:20:13 +0000 (16:20 +0200)
include/deal.II/fe/mapping_fe_field.h
include/deal.II/numerics/vector_tools.h
include/deal.II/numerics/vector_tools.templates.h
source/numerics/vector_tools_interpolate.inst.in

index 6ecb446bb5c9743ed18ee50ba4a01da5106c23e3..108565b16d4d2f43befb1a0e132fce29f99720c1 100644 (file)
@@ -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<dim,spacedim,VECTOR,DH> &mapping);
 
@@ -583,20 +581,23 @@ protected:
 
 
 private:
-//
   /**
    * Update internal degrees of
    * freedom. */
   void update_internal_dofs(const typename Triangulation<dim,spacedim>::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<double> 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<types::global_dof_index> 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
index ee6c85d6f90fb0ddd47eaa799da8d21f6eb58b5f..45ad3b067ac23eaadfad57023c308b5ec40a8716 100644 (file)
@@ -2223,7 +2223,7 @@ namespace VectorTools
   template<class DH, class VECTOR>
   void get_position_vector(const DH &dh,
                            VECTOR &vector,
-                           const ComponentMask mask=ComponentMask());
+                           const ComponentMask &mask=ComponentMask());
 
   //@}
 
index d156bb0ac3c4a2e240c2fe4ac905ba397fc0a1bd..e3115c444980bcb134a64a89302293011ac079a3 100644 (file)
@@ -6885,7 +6885,7 @@ namespace VectorTools
   template<class DH, class VECTOR>
   void get_position_vector(const DH &dh,
                            VECTOR &vector,
-                           const ComponentMask mask)
+                           const ComponentMask &mask)
   {
     AssertDimension(vector.size(), dh.n_dofs());
 
index 3c3bad4c8507521df65b4f2a4b371c344b4994e6..cce075f855c47caa7ecce0c271949395ad403f2e 100644 (file)
@@ -44,7 +44,7 @@ for (VEC : SERIAL_VECTORS ; deal_II_dimension : DIMENSIONS; deal_II_space_dimens
          void get_position_vector
         (const DoFHandler<deal_II_dimension,deal_II_space_dimension>&,
          VEC&,
-         const ComponentMask);
+         const ComponentMask&);
 
       \}
 #endif

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.