]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update a comment for a variable. 2481/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 7 Apr 2016 21:01:56 +0000 (16:01 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 8 Apr 2016 13:36:00 +0000 (08:36 -0500)
include/deal.II/fe/mapping_manifold.h

index c9446c1ea7480d9e3390602e9d55550d1bff2643..3c126f461dc60bb1e35853138af5b8ffe7cd3cfe 100644 (file)
@@ -259,9 +259,18 @@ public:
 
 
     /**
-     * Weights for vertices to use in Manifold::get_new_point().
+     * A vector of weights for use in Manifold::get_new_point(). For
+     * each point (interior to a cell), we compute the weight each
+     * vertex has for this point. If the point lies at a vertex, then
+     * this vertex has weight one and all others have weight zero. If
+     * the point lies interior to a cell, then the weight every vertex
+     * has is just the $d$-linear shape functions associated with each
+     * vertex evaluated at that point.
      *
-     * Computed each.
+     * This array has size GeometryInfo<dim>::vertices_per_cell, but it
+     * can't be converted into a fixed size array because it is used
+     * as input for Manifold::get_new_point() which wants to see a
+     * std::vector<double> for the weights.
      */
     mutable std::vector<double> vertex_weights;
 
@@ -298,7 +307,7 @@ public:
      *
      * Computed on each cell.
      */
-    mutable std::vector< DerivativeForm<1,dim,spacedim> > contravariant;
+    mutable std::vector<DerivativeForm<1,dim,spacedim> > contravariant;
 
     /**
      * Auxiliary vectors for internal use.

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.