(Denis Davydov, 2014/06/15)
</li>
+ <li> New: There is now function Triangulation::n_global_active_cells().
+ <br>
+ (Denis Davydov, 2014/06/19)
+ </li>
+
<li> New: There is now a class FEEvaluationQ_DG0 that does
optimized matrix-free evaluation for FE_Q_DG0 elements.
<br>
* cells owned by each processor. This equals the overall number
* of active cells in the distributed triangulation.
*/
- types::global_dof_index n_global_active_cells () const;
+ virtual types::global_dof_index n_global_active_cells () const;
/**
* Returns the global maximum level. This may be bigger than
*/
unsigned int n_active_cells () const;
+ /**
+ * Return the total number of active cells. For the current class, this is
+ * the same as n_active_cells(). However, the function may be overloaded in
+ * derived classes (e.g., in parallel::distributed::Triangulation) where it
+ * may return a value greater than the number of active cells reported by
+ * the triangulation object on the current processor.
+ */
+ virtual types::global_dof_index n_global_active_cells () const;
+
+
/**
* Return total number of active cells on
* level @p level. Maps to
return internal::Triangulation::n_active_cells (number_cache);
}
+template <int dim, int spacedim>
+types::global_dof_index Triangulation<dim, spacedim>::n_global_active_cells () const
+{
+ return n_active_cells();
+}
+
+
template <int dim, int spacedim>
unsigned int Triangulation<dim, spacedim>::n_faces () const