]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove obsolete header file 8846/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 25 Sep 2019 07:33:33 +0000 (09:33 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 25 Sep 2019 10:14:53 +0000 (12:14 +0200)
include/deal.II/dofs/dof_handler.h
include/deal.II/fe/mapping.h
include/deal.II/grid/tria_accessor.templates.h
include/deal.II/matrix_free/face_setup_internal.h

index d456be13f95204e8e36a1e3b6cc4a89016f3516c..a29432a77d031a9c60bc7906bf4c14f28a58a63e 100644 (file)
@@ -26,6 +26,8 @@
 #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>
index 7fc1f675dbca369813da584c8d3f8745ec090194..738812871fb5cc6c260310f0cc3caf045a177ca7 100644 (file)
@@ -19,6 +19,7 @@
 
 #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>
index de7ca2ff1783863ca877532367a6db15b3f05b88..0b7c97f0a17b99503d4b7843d49df888b0a54226 100644 (file)
@@ -22,8 +22,6 @@
 #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 -------------------------*/
 
index 84c4eed1db46bb503555c2a9c0263593689b03d0..b438b23a00d0258153c0d4447dd63332741365a7 100644 (file)
@@ -20,6 +20,8 @@
 #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>
 
@@ -195,8 +197,8 @@ namespace internal
       // 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();

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.