From 4479eb68034e6821ef0e66b0f5c86c668dd33164 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 26 Sep 2019 08:19:24 -0600 Subject: [PATCH] Change 'direction' of make_periodicity_constraint() to 'unsigned int'. --- include/deal.II/dofs/dof_tools.h | 4 ++-- source/dofs/dof_tools_constraints.cc | 4 ++-- source/dofs/dof_tools_constraints.inst.in | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/deal.II/dofs/dof_tools.h b/include/deal.II/dofs/dof_tools.h index ea0c57a109..f04bb8d077 100644 --- a/include/deal.II/dofs/dof_tools.h +++ b/include/deal.II/dofs/dof_tools.h @@ -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 &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 &constraints, const ComponentMask & component_mask = ComponentMask()); diff --git a/source/dofs/dof_tools_constraints.cc b/source/dofs/dof_tools_constraints.cc index 55de132df6..fd3ce9d906 100644 --- a/source/dofs/dof_tools_constraints.cc +++ b/source/dofs/dof_tools_constraints.cc @@ -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 &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 &constraints, const ComponentMask & component_mask) { diff --git a/source/dofs/dof_tools_constraints.inst.in b/source/dofs/dof_tools_constraints.inst.in index 82c18c6f16..8b321f8948 100644 --- a/source/dofs/dof_tools_constraints.inst.in +++ b/source/dofs/dof_tools_constraints.inst.in @@ -95,7 +95,7 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS) const DH &, const types::boundary_id, const types::boundary_id, - const int, + const unsigned int, AffineConstraints &, const ComponentMask &); @@ -104,7 +104,7 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS) const DH &, const types::boundary_id, const types::boundary_id, - const int, + const unsigned int, AffineConstraints> &, const ComponentMask &); #endif @@ -112,7 +112,7 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS) template void DoFTools::make_periodicity_constraints( const DH &, const types::boundary_id, - const int, + const unsigned int, AffineConstraints &, const ComponentMask &); @@ -120,7 +120,7 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS) template void DoFTools::make_periodicity_constraints( const DH &, const types::boundary_id, - const int, + const unsigned int, AffineConstraints> &, const ComponentMask &); #endif -- 2.39.5