]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed WB comments. 7465/head
authorLuca Heltai <luca.heltai@sissa.it>
Sat, 24 Nov 2018 09:43:31 +0000 (10:43 +0100)
committerLuca Heltai <luca.heltai@sissa.it>
Sat, 24 Nov 2018 09:45:27 +0000 (10:45 +0100)
include/deal.II/grid/tria.h
source/grid/tria.cc
tests/grid/n_faces_01.output

index 715eeade433913a7fbbd5d202292a991c01a3d1a..b73071eaa2a4ed1361dd497e97710a7e256ed624 100644 (file)
@@ -3074,7 +3074,7 @@ public:
   /**
    * Return the total number of used faces, active or not.  In 2D, the result
    * equals n_lines(), in 3D it equals n_quads(), while in 1D it equals
-   * the number of vertices.
+   * the number of used vertices.
    */
   unsigned int
   n_faces() const;
index faf15d88f7dec908f46a6d078f508c0e6dc5276b..36fef9772d2110ee35a5d4526a025ccbe9b335f0 100644 (file)
@@ -12520,7 +12520,7 @@ Triangulation<dim, spacedim>::n_faces() const
   switch (dim)
     {
       case 1:
-        return n_vertices();
+        return n_used_vertices();
       case 2:
         return n_lines();
       case 3:
index 9951c686ccfd4c18c20bf2789977ef5add3ca27b..c35e4ab636d3f119f3c2e174e206055cb0458f1a 100644 (file)
@@ -1,6 +1,6 @@
 
-DEAL::Counted: 4, active: 4, total: 5, raw: 5
-DEAL::Counted: 4, active: 4, total: 5, raw: 5
+DEAL::Counted: 4, active: 4, total: 4, raw: 5
+DEAL::Counted: 4, active: 4, total: 4, raw: 5
 DEAL::Counted: 40, active: 40, total: 56, raw: 56
 DEAL::Counted: 40, active: 40, total: 56, raw: 56
 DEAL::Counted: 240, active: 240, total: 282, raw: 282

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.