#include <deal.II/base/iterator_range.h>
#include <deal.II/base/smartpointer.h>
+#include <deal.II/distributed/tria_base.h>
+
#include <deal.II/dofs/block_info.h>
#include <deal.II/dofs/deprecated_function_map.h>
#include <deal.II/dofs/dof_faces.h>
#include <deal.II/base/config.h>
+#include <deal.II/base/array_view.h>
#include <deal.II/base/derivative_form.h>
#include <deal.II/fe/fe_update_flags.h>
#include <deal.II/base/geometry_info.h>
#include <deal.II/base/template_constraints.h>
-#include <deal.II/distributed/tria_base.h>
-
#include <deal.II/grid/tria.h>
#include <deal.II/grid/tria_accessor.h>
#include <deal.II/grid/tria_faces.h>
DEAL_II_NAMESPACE_OPEN
-// Forward declaration
-#ifndef DOXYGEN
-namespace parallel
-{
- template <int, int>
- class TriangulationBase;
-}
-#endif
-
/*--------------------- Functions: TriaAccessorBase -------------------------*/
#include <deal.II/base/memory_consumption.h>
#include <deal.II/base/utilities.h>
+#include <deal.II/distributed/tria_base.h>
+
#include <deal.II/grid/tria.h>
#include <deal.II/grid/tria_accessor.h>
// boundaries as evenly as possible between the processors
std::map<types::subdomain_id, FaceIdentifier>
inner_faces_at_proc_boundary;
- if (dynamic_cast<const parallel::TriangulationBase<dim> *>(
- &triangulation))
+ if (triangulation.locally_owned_subdomain() !=
+ numbers::invalid_subdomain_id)
{
const types::subdomain_id my_domain =
triangulation.locally_owned_subdomain();