]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a dummy member function to the 1d case.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 Sep 2011 05:30:59 +0000 (05:30 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 Sep 2011 05:30:59 +0000 (05:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@24310 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/distributed/tria.h
deal.II/source/distributed/tria.cc

index 5a8b0d97ff44740730b68c0ffaf8afd1f300da72..f0c3266e0271ad94723ff55f8011a8477b0abb97 100644 (file)
@@ -709,6 +709,17 @@ namespace parallel
                                          */
        MPI_Comm get_communicator () const;
 
+                                        /**
+                                         * Return the sum over all
+                                         * processors of the number
+                                         * of active cells owned by
+                                         * each processor. This
+                                         * equals the overall number
+                                         * of active cells in the
+                                         * distributed triangulation.
+                                         */
+       unsigned int n_global_active_cells () const;
+
                                         /**
                                          * Returns a permutation vector for the order the coarse
                                          * cells are handed of to p4est. For example the first
index a548df84dea0dc0edfad7ade4a0c4b88fb2a13d4..79054657b66ca4f368dc5e240d99032bbbdebcba 100644 (file)
@@ -2985,6 +2985,15 @@ namespace parallel
     }
 
 
+    template <>
+    unsigned int
+    Triangulation<1,2>::n_global_active_cells () const
+    {
+      Assert (false, ExcNotImplemented());
+      return 0;
+    }
+
+
     template <>
     MPI_Comm
     Triangulation<1,2>::get_communicator () const

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.