]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Treat `hp::DoFHandler` as alias. Clean up template-arguments.in from `hp::DoFHandler`. 11221/head
authorMarc Fehling <mafehling.git@gmail.com>
Sat, 22 May 2021 23:53:25 +0000 (17:53 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Tue, 25 May 2021 19:54:26 +0000 (13:54 -0600)
14 files changed:
cmake/config/template-arguments.in
include/deal.II/grid/grid_tools.h
include/deal.II/grid/tria.h
include/deal.II/hp/dof_handler.h
include/deal.II/numerics/matrix_tools.h
include/deal.II/numerics/vector_tools_integrate_difference.h
include/deal.II/numerics/vector_tools_point_gradient.h
include/deal.II/numerics/vector_tools_point_value.h
include/deal.II/numerics/vector_tools_project.h
include/deal.II/numerics/vector_tools_rhs.h
source/dofs/dof_tools_constraints.inst.in
source/hp/CMakeLists.txt
source/hp/dof_handler.cc [deleted file]
source/hp/dof_handler.inst.in [deleted file]

index 15007e7f08b6d63f47a61c609d03d45adf5f6fe1..055c25c230f5aef3cef9bfbbb3999ea8af9130b7 100644 (file)
@@ -208,18 +208,11 @@ GENERAL_CONTAINER_TYPES := { std::vector;
                              ArrayView
                            }
 
-// DoFHandler (for iterators!)
-DOFHANDLER_TEMPLATE := { DoFHandler }
-
-// DoFHandler and hp::DoFHandler templates
-DOFHANDLER_TEMPLATES := { DoFHandler; hp::DoFHandler }
-
 // Triangulation and DoFHandler templates
 TRIANGULATION_AND_DOFHANDLER_TEMPLATES := { Triangulation;
                                             parallel::shared::Triangulation;
                                             parallel::distributed::Triangulation;
-                                            DoFHandler;
-                                            hp::DoFHandler }
+                                            DoFHandler }
 
 // concrete sequential Triangulation and DoFHandler with hard-coded
 // <deal_II_dimension, deal_II_space_dimension> (for iterators!)
@@ -229,16 +222,14 @@ SEQUENTIAL_TRIANGULATION_AND_DOFHANDLER := { Triangulation<deal_II_dimension, de
 // concrete sequential Triangulation and DoFHandler types with hard-coded
 // <deal_II_dimension, deal_II_space_dimension>
 SEQUENTIAL_TRIANGULATION_AND_DOFHANDLERS := { Triangulation<deal_II_dimension, deal_II_space_dimension>;
-                                              DoFHandler<deal_II_dimension, deal_II_space_dimension>;
-                                              hp::DoFHandler<deal_II_dimension, deal_II_space_dimension> }
+                                              DoFHandler<deal_II_dimension, deal_II_space_dimension> }
 
 // concrete Triangulation and DoFHandler types (all types you can iterate over cells from)
 // with hard-coded <deal_II_dimension, deal_II_space_dimension>
 TRIANGULATION_AND_DOFHANDLERS := { Triangulation<deal_II_dimension, deal_II_space_dimension>;
                                    parallel::shared::Triangulation<deal_II_dimension, deal_II_space_dimension>;
                                    parallel::distributed::Triangulation<deal_II_dimension, deal_II_space_dimension>;
-                                   DoFHandler<deal_II_dimension, deal_II_space_dimension>;
-                                   hp::DoFHandler<deal_II_dimension, deal_II_space_dimension> }
+                                   DoFHandler<deal_II_dimension, deal_II_space_dimension> }
 
 // concrete Triangulation types (all types you can iterate over cells from)
 // with hard-coded <deal_II_dimension, deal_II_space_dimension>
index 7115b4016a03981fa487672496930e32810d675c..5b3e934f4a1df722214393664855c97fd743d2a0 100644 (file)
@@ -112,17 +112,6 @@ namespace internal
       TriaActiveIterator<dealii::DoFCellAccessor<dim, spacedim, false>>;
   };
 #  endif
-
-
-#  ifdef _MSC_VER
-  template <int dim, int spacedim>
-  class ActiveCellIterator<dim, spacedim, dealii::hp::DoFHandler<dim, spacedim>>
-  {
-  public:
-    using type =
-      TriaActiveIterator<dealii::DoFCellAccessor<dim, spacedim, false>>;
-  };
-#  endif
 } // namespace internal
 
 /**
index bd293a26b85f767186c709e9142232de66b0674a..b954f00508ce6e227e036f23f239e23958291588 100644 (file)
@@ -108,12 +108,6 @@ namespace internal
     struct Implementation;
   }
 } // namespace internal
-
-namespace hp
-{
-  template <int dim, int spacedim>
-  class DoFHandler;
-}
 #endif
 
 
index 26fd3e93cbef57bc9a17f4888f8eff62f7211b7c..859afe726f2e5df8f9073a3a05e4185413a1a171 100644 (file)
@@ -117,17 +117,11 @@ namespace hp
    *
    *
    * @ingroup dofs
-   * @ingroup hp
    *
    * @deprecated The basic dealii::DoFHandler is capable of hp-adaptation now.
    */
   template <int dim, int spacedim = dim>
-  class DEAL_II_DEPRECATED DoFHandler : public dealii::DoFHandler<dim, spacedim>
-  {
-    using dealii::DoFHandler<dim, spacedim>::DoFHandler;
-    using dealii::DoFHandler<dim, spacedim>::operator=;
-  };
-
+  using DoFHandler DEAL_II_DEPRECATED = dealii::DoFHandler<dim, spacedim>;
 } // namespace hp
 
 DEAL_II_NAMESPACE_CLOSE
index 52169804de37766557ce54309516fd2537fb1438..32ab7006e09424c805e2d1eda252117ff12fc49a 100644 (file)
@@ -62,8 +62,6 @@ namespace hp
   class QCollection;
   template <int, int>
   class MappingCollection;
-  template <int, int>
-  class DoFHandler;
 } // namespace hp
 
 
index 6dde3baf68b7b076dc47f4e4b2f04be71720c19e..09b07f2ba0daa890cd663a5862487984be1b977d 100644 (file)
@@ -35,8 +35,6 @@ template <int dim, int spacedim>
 class Triangulation;
 namespace hp
 {
-  template <int dim, int spacedim>
-  class DoFHandler;
   template <int dim, int spacedim>
   class MappingCollection;
   template <int dim>
index 9093f936486feb9c6011094f469c8b6a303f4f83..c756235f7c710d5aaef15db07fce0f00cdb54653 100644 (file)
@@ -38,8 +38,6 @@ template <typename Number>
 class Vector;
 namespace hp
 {
-  template <int dim, int spacedim>
-  class DoFHandler;
   template <int dim, int spacedim>
   class MappingCollection;
 } // namespace hp
index 3636aa34ea9217863d2f8b32a3f5e4ddd75bbfdb..0a4c4871114bce3b1a6544d30d8f5d8ca5667e37 100644 (file)
@@ -33,8 +33,6 @@ template <typename Number>
 class Vector;
 namespace hp
 {
-  template <int dim, int spacedim>
-  class DoFHandler;
   template <int dim, int spacedim>
   class MappingCollection;
 } // namespace hp
index 91d58588b28836bdc952d1972aaf3536aa19c00b..5f2eba5186a36b198a6bf91a07b5d8fd0aa4e9e3 100644 (file)
@@ -42,8 +42,6 @@ template <typename Number, std::size_t width>
 class VectorizedArray;
 namespace hp
 {
-  template <int dim, int spacedim>
-  class DoFHandler;
   template <int dim, int spacedim>
   class MappingCollection;
   template <int dim>
index 7516611332858ab605df9d78c30bc7a1ebe5eedd..18a06632f7742c9f269ca7e6819381bce578584d 100644 (file)
@@ -34,8 +34,6 @@ template <int dim>
 class Quadrature;
 namespace hp
 {
-  template <int dim, int spacedim>
-  class DoFHandler;
   template <int dim, int spacedim>
   class MappingCollection;
   template <int dim>
index 65780899099ddc20cb7f477355306f9be7c43921..f583f5abf3e7272d09644ab8b22c1b66a7349f6d 100644 (file)
@@ -117,8 +117,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
 #endif
   }
 
-for (DoFHandler : DOFHANDLER_TEMPLATE; deal_II_dimension : DIMENSIONS;
-     deal_II_space_dimension : SPACE_DIMENSIONS;
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
      S : REAL_AND_COMPLEX_SCALARS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
index 92aaef43ccd71e48b68e90cb501b5ce54591908b..c814a910df7d575da452d4f532822b6ec2c77061 100644 (file)
@@ -23,7 +23,6 @@ SET(_unity_include_src
   )
 
 SET(_separate_src
-  dof_handler.cc
   )
 
 # concatenate all unity inclusion files in one file
@@ -36,7 +35,6 @@ SETUP_SOURCE_LIST("${_unity_include_src}"
   )
 
 SET(_inst
-  dof_handler.inst.in
   fe_collection.inst.in
   fe_values.inst.in
   mapping_collection.inst.in
diff --git a/source/hp/dof_handler.cc b/source/hp/dof_handler.cc
deleted file mode 100644 (file)
index 598e647..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// ---------------------------------------------------------------------
-//
-// Copyright (C) 2003 - 2020 by the deal.II authors
-//
-// This file is part of the deal.II library.
-//
-// The deal.II library is free software; you can use it, redistribute
-// it, and/or modify it under the terms of the GNU Lesser General
-// Public License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-// The full text of the license can be found in the file LICENSE.md at
-// the top level directory of deal.II.
-//
-// ---------------------------------------------------------------------
-
-#include <deal.II/hp/dof_handler.h>
-
-DEAL_II_NAMESPACE_OPEN
-
-
-/*-------------- Explicit Instantiations -------------------------------*/
-#include "dof_handler.inst"
-
-
-DEAL_II_NAMESPACE_CLOSE
diff --git a/source/hp/dof_handler.inst.in b/source/hp/dof_handler.inst.in
deleted file mode 100644 (file)
index 79f9faa..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// ---------------------------------------------------------------------
-//
-// Copyright (C) 2010 - 2020 by the deal.II authors
-//
-// This file is part of the deal.II library.
-//
-// The deal.II library is free software; you can use it, redistribute
-// it, and/or modify it under the terms of the GNU Lesser General
-// Public License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-// The full text of the license can be found in the file LICENSE.md at
-// the top level directory of deal.II.
-//
-// ---------------------------------------------------------------------
-
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
-  {
-#if deal_II_dimension <= deal_II_space_dimension
-    namespace hp
-    \{
-      template class DoFHandler<deal_II_dimension, deal_II_space_dimension>;
-    \}
-#endif
-  }

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.