]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated variants of DoFTools::make_periodicity_constraints().
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 23 Jan 2015 13:41:43 +0000 (07:41 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 24 Jan 2015 04:46:47 +0000 (22:46 -0600)
doc/news/changes.h
include/deal.II/dofs/dof_tools.h
source/dofs/dof_tools_constraints.cc
source/dofs/dof_tools_constraints.inst.in

index ae383178feaa8b7ec5d2784529d59c893f48a615..857ee370b1bc2be794b0af4030dea27ed0552f30 100644 (file)
@@ -155,6 +155,7 @@ inconvenience this causes.
   - Mapping::transform_covariant and Mapping::transform_contravariant.
   - The typedef CompressedBlockSparsityPattern.
   - The deprecated constructors of SparsityPattern iterator classes.
+  - The deprecated variants of DoFTools::make_periodicity_constraints.
   <br>
   This release also removes the deprecated class MGDoFHandler. The
   functionality of this class had previously been incorporated into
index 46aa59a682b6cd848f36cbd493fc5ddb2d80c287..686d50efb397b34fc0d996b770efdb601698a345 100644 (file)
@@ -1055,57 +1055,6 @@ namespace DoFTools
    dealii::ConstraintMatrix &constraint_matrix,
    const ComponentMask      &component_mask = ComponentMask());
 
-
-
-  /**
-   * The @p offset is a vector tangential to the faces that is added to the
-   * location of vertices of the 'first' boundary when attempting to match
-   * them to the corresponding vertices of the 'second' boundary via
-   * orthogonal_equality (). This can be used to implement conditions such as
-   * $u(0,y)=u(1,y+1)$.
-   *
-   * @deprecated This function is deprecated. Use
-   * GridTools::collect_periodic_faces in conjunction with
-   * make_periodicity_constraints instead.
-   */
-  template<typename DH>
-  void
-  make_periodicity_constraints
-  (const DH                              &dof_handler,
-   const types::boundary_id              b_id1,
-   const types::boundary_id              b_id2,
-   const int                             direction,
-   dealii::Tensor<1,DH::space_dimension> &offset,
-   dealii::ConstraintMatrix              &constraint_matrix,
-   const ComponentMask                   &component_mask = ComponentMask()) DEAL_II_DEPRECATED;
-
-
-  /**
-   * The @p offset is a vector tangential to the faces that is added to the
-   * location of vertices of the 'first' boundary when attempting to match
-   * them to the corresponding vertices of the 'second' boundary via
-   * orthogonal_equality(). This can be used to implement conditions such as
-   * $u(0,y)=u(1,y+1)$.
-   *
-   * @note This version of make_periodicity_constraints  will not work on
-   * meshes with cells not in
-   * @ref GlossFaceOrientation "standard orientation".
-   *
-   * @deprecated This function is deprecated. Use
-   * GridTools::collect_periodic_faces in conjunction with
-   * make_periodicity_constraints instead.
-   */
-  template<typename DH>
-  void
-  make_periodicity_constraints
-  (const DH                              &dof_handler,
-   const types::boundary_id              b_id,
-   const int                             direction,
-   dealii::Tensor<1,DH::space_dimension> &offset,
-   dealii::ConstraintMatrix              &constraint_matrix,
-   const ComponentMask                   &component_mask = ComponentMask()) DEAL_II_DEPRECATED;
-
-
   /**
    * Take a vector of values which live on cells (e.g. an error per cell) and
    * distribute it to the dofs in such a way that a finite element field
index 860189a365a3cf58f4f44b272bfa17ceeeb11fc9..def686d5b4d64aebd8a819581f0d86077f44d02f 100644 (file)
@@ -2224,28 +2224,6 @@ namespace DoFTools
                                 const int                      direction,
                                 dealii::ConstraintMatrix       &constraint_matrix,
                                 const ComponentMask            &component_mask)
-  {
-    Tensor<1,DH::space_dimension> dummy;
-    make_periodicity_constraints (dof_handler,
-                                  b_id1,
-                                  b_id2,
-                                  direction,
-                                  dummy,
-                                  constraint_matrix,
-                                  component_mask);
-  }
-
-
-
-  template<typename DH>
-  void
-  make_periodicity_constraints (const DH                  &dof_handler,
-                                const types::boundary_id  b_id1,
-                                const types::boundary_id  b_id2,
-                                const int                 direction,
-                                dealii::Tensor<1,DH::space_dimension> &offset,
-                                dealii::ConstraintMatrix  &constraint_matrix,
-                                const ComponentMask       &component_mask)
   {
     static const int space_dim = DH::space_dimension;
     Assert (0<=direction && direction<space_dim,
@@ -2260,7 +2238,7 @@ namespace DoFTools
 
     // Collect matching periodic cells on the coarsest level:
     GridTools::collect_periodic_faces(dof_handler, b_id1, b_id2, direction,
-                                      matched_faces, offset);
+                                      matched_faces);
 
     make_periodicity_constraints<DH>
     (matched_faces, constraint_matrix, component_mask);
@@ -2275,26 +2253,6 @@ namespace DoFTools
                                 const int                      direction,
                                 dealii::ConstraintMatrix       &constraint_matrix,
                                 const ComponentMask            &component_mask)
-  {
-    Tensor<1,DH::space_dimension> dummy;
-    make_periodicity_constraints (dof_handler,
-                                  b_id,
-                                  direction,
-                                  dummy,
-                                  constraint_matrix,
-                                  component_mask);
-  }
-
-
-
-  template<typename DH>
-  void
-  make_periodicity_constraints (const DH                  &dof_handler,
-                                const types::boundary_id  b_id,
-                                const int                 direction,
-                                dealii::Tensor<1,DH::space_dimension> &offset,
-                                dealii::ConstraintMatrix  &constraint_matrix,
-                                const ComponentMask       &component_mask)
   {
     static const int dim = DH::dimension;
     static const int space_dim = DH::space_dimension;
@@ -2310,7 +2268,7 @@ namespace DoFTools
 
     // Collect matching periodic cells on the coarsest level:
     GridTools::collect_periodic_faces(dof_handler, b_id, direction,
-                                      matched_faces, offset);
+                                      matched_faces);
 
     make_periodicity_constraints<DH>
     (matched_faces, constraint_matrix, component_mask);
index 6e077c70c9d60fa5be3046ea2975507e4fc5aa5f..420155d5d211e27123e2f099d316495c520b8db4 100644 (file)
@@ -51,30 +51,11 @@ for (DH : DOFHANDLERS; deal_II_dimension : DIMENSIONS)
                                          dealii::ConstraintMatrix &,
                                          const ComponentMask &);
 
-  template
-  void
-  DoFTools::make_periodicity_constraints(const DH &,
-                                         const types::boundary_id,
-                                         const types::boundary_id,
-                                         const int,
-                                         dealii::Tensor<1,DH::space_dimension> &,
-                                         dealii::ConstraintMatrix &,
-                                         const ComponentMask &);
-
-  template
-  void
-  DoFTools::make_periodicity_constraints(const DH &,
-                                         const types::boundary_id,
-                                         const int,
-                                         dealii::ConstraintMatrix &,
-                                         const ComponentMask &);
-
   template
   void
   DoFTools::make_periodicity_constraints(const DH &,
                                          const types::boundary_id,
                                          const int,
-                                         dealii::Tensor<1,DH::space_dimension> &,
                                          dealii::ConstraintMatrix &,
                                          const ComponentMask &);
 #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.