From 839f5e166630a65f4d1e309fa9a049c033f90cac Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 21 Aug 2015 16:24:39 -0500 Subject: [PATCH] Periodic bc: Adjust tests to new interface --- tests/mpi/muelu_periodicity.cc | 15 +++++++-------- tests/mpi/periodicity_02.cc | 17 ++++++++--------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/tests/mpi/muelu_periodicity.cc b/tests/mpi/muelu_periodicity.cc index 068ba075d7..899a8aa2dd 100644 --- a/tests/mpi/muelu_periodicity.cc +++ b/tests/mpi/muelu_periodicity.cc @@ -362,12 +362,12 @@ namespace Step22 std::vector first_vector_components; first_vector_components.push_back(0); - GridTools::collect_periodic_faces - (dof_handler, 2, 3, 1, periodicity_vector, Tensor<1,dim>(), - matrix, first_vector_components); + GridTools::collect_periodic_faces( + dof_handler, 2, 3, 1, periodicity_vector, Tensor<1, dim>(), matrix); - DoFTools::make_periodicity_constraints > - (periodicity_vector, constraints, fe.component_mask(velocities)); + DoFTools::make_periodicity_constraints>( + periodicity_vector, constraints, fe.component_mask(velocities)), + first_vector_components; #endif } @@ -724,9 +724,8 @@ namespace Step22 std::vector first_vector_components; first_vector_components.push_back(0); - GridTools::collect_periodic_faces - (triangulation, 2, 3, 1, periodicity_vector, Tensor<1,dim>(), - matrix, first_vector_components); + GridTools::collect_periodic_faces( + triangulation, 2, 3, 1, periodicity_vector, Tensor<1, dim>(), matrix); triangulation.add_periodicity(periodicity_vector); #endif diff --git a/tests/mpi/periodicity_02.cc b/tests/mpi/periodicity_02.cc index 5e0bc99c38..573408c8d6 100644 --- a/tests/mpi/periodicity_02.cc +++ b/tests/mpi/periodicity_02.cc @@ -1,6 +1,6 @@ /* --------------------------------------------------------------------- * - * Copyright (C) 2008 - 2014 by the deal.II authors + * Copyright (C) 2008 - 2015 by the deal.II authors * * This file is part of the deal.II library. * @@ -363,12 +363,12 @@ namespace Step22 std::vector first_vector_components; first_vector_components.push_back(0); - GridTools::collect_periodic_faces - (dof_handler, 2, 3, 1, periodicity_vector, Tensor<1,dim>(), - matrix, first_vector_components); + GridTools::collect_periodic_faces( + dof_handler, 2, 3, 1, periodicity_vector, Tensor<1, dim>(), matrix); - DoFTools::make_periodicity_constraints > - (periodicity_vector, constraints, fe.component_mask(velocities)); + DoFTools::make_periodicity_constraints>( + periodicity_vector, constraints, fe.component_mask(velocities), + first_vector_components); #endif } @@ -727,9 +727,8 @@ namespace Step22 std::vector first_vector_components; first_vector_components.push_back(0); - GridTools::collect_periodic_faces - (triangulation, 2, 3, 1, periodicity_vector, Tensor<1,dim>(), - matrix, first_vector_components); + GridTools::collect_periodic_faces( + triangulation, 2, 3, 1, periodicity_vector, Tensor<1, dim>(), matrix); triangulation.add_periodicity(periodicity_vector); #endif -- 2.39.5