]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change 'direction' of make_periodicity_constraint() to 'unsigned int'.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 26 Sep 2019 14:19:24 +0000 (08:19 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 26 Sep 2019 14:19:24 +0000 (08:19 -0600)
include/deal.II/dofs/dof_tools.h
source/dofs/dof_tools_constraints.cc
source/dofs/dof_tools_constraints.inst.in

index ea0c57a10950a30372b45eb3cd69f7d94186b60e..f04bb8d07709da2a16d65eb1565b967e92595530 100644 (file)
@@ -1242,7 +1242,7 @@ namespace DoFTools
     const DoFHandlerType &     dof_handler,
     const types::boundary_id   b_id1,
     const types::boundary_id   b_id2,
-    const int                  direction,
+    const unsigned int         direction,
     AffineConstraints<number> &constraints,
     const ComponentMask &      component_mask = ComponentMask());
 
@@ -1278,7 +1278,7 @@ namespace DoFTools
   make_periodicity_constraints(
     const DoFHandlerType &     dof_handler,
     const types::boundary_id   b_id,
-    const int                  direction,
+    const unsigned int         direction,
     AffineConstraints<number> &constraints,
     const ComponentMask &      component_mask = ComponentMask());
 
index 55de132df61c8450e8df6a4c870521b3730799b0..fd3ce9d906a457bdef4fb8d1e89bc1005a95a550 100644 (file)
@@ -2494,7 +2494,7 @@ namespace DoFTools
   make_periodicity_constraints(const DoFHandlerType &             dof_handler,
                                const types::boundary_id           b_id1,
                                const types::boundary_id           b_id2,
-                               const int                          direction,
+                               const unsigned int                 direction,
                                dealii::AffineConstraints<number> &constraints,
                                const ComponentMask &component_mask)
   {
@@ -2526,7 +2526,7 @@ namespace DoFTools
   void
   make_periodicity_constraints(const DoFHandlerType &     dof_handler,
                                const types::boundary_id   b_id,
-                               const int                  direction,
+                               const unsigned int         direction,
                                AffineConstraints<number> &constraints,
                                const ComponentMask &      component_mask)
   {
index 82c18c6f166b18b6e282bd4ad7a8356901b8874c..8b321f8948321cc448353fec8a365d3da1765a7b 100644 (file)
@@ -95,7 +95,7 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS)
       const DH<deal_II_dimension> &,
       const types::boundary_id,
       const types::boundary_id,
-      const int,
+      const unsigned int,
       AffineConstraints<double> &,
       const ComponentMask &);
 
@@ -104,7 +104,7 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS)
       const DH<deal_II_dimension> &,
       const types::boundary_id,
       const types::boundary_id,
-      const int,
+      const unsigned int,
       AffineConstraints<std::complex<double>> &,
       const ComponentMask &);
 #endif
@@ -112,7 +112,7 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS)
     template void DoFTools::make_periodicity_constraints(
       const DH<deal_II_dimension> &,
       const types::boundary_id,
-      const int,
+      const unsigned int,
       AffineConstraints<double> &,
       const ComponentMask &);
 
@@ -120,7 +120,7 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS)
     template void DoFTools::make_periodicity_constraints(
       const DH<deal_II_dimension> &,
       const types::boundary_id,
-      const int,
+      const unsigned int,
       AffineConstraints<std::complex<double>> &,
       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.