From 345cf9033843aacce32a91465a3bc0e6b9cfb936 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 28 May 2018 15:00:05 -0500 Subject: [PATCH] Tests: Fix the remaining tests using complex scalars --- tests/mpi/condense_01.cc | 2 +- tests/mpi/constraint_matrix_condense_01.cc | 2 +- tests/mpi/constraint_matrix_set_zero_01.cc | 2 +- tests/mpi/interpolate_04.cc | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/mpi/condense_01.cc b/tests/mpi/condense_01.cc index d5b4225e02..d742f427d9 100644 --- a/tests/mpi/condense_01.cc +++ b/tests/mpi/condense_01.cc @@ -71,7 +71,7 @@ test() DoFHandler dof_handler(triangulation); dof_handler.distribute_dofs(fe); - ConstraintMatrix constraints; + AffineConstraints constraints; DoFTools::make_hanging_node_constraints(dof_handler, constraints); constraints.close(); diff --git a/tests/mpi/constraint_matrix_condense_01.cc b/tests/mpi/constraint_matrix_condense_01.cc index 4838e7490c..b837a2001e 100644 --- a/tests/mpi/constraint_matrix_condense_01.cc +++ b/tests/mpi/constraint_matrix_condense_01.cc @@ -56,7 +56,7 @@ test() force.reinit(locally_owned_dofs, mpi_communicator); Assert(!force.has_ghost_elements(), ExcInternalError()); - ConstraintMatrix constraints(locally_relevant_dofs); + AffineConstraints constraints(locally_relevant_dofs); constraints.clear(); { IndexSet boundary_dofs(dof_handler.n_dofs()); diff --git a/tests/mpi/constraint_matrix_set_zero_01.cc b/tests/mpi/constraint_matrix_set_zero_01.cc index 15948826b4..52984cea30 100644 --- a/tests/mpi/constraint_matrix_set_zero_01.cc +++ b/tests/mpi/constraint_matrix_set_zero_01.cc @@ -58,7 +58,7 @@ test() local_active_together.add_range(myid, myid + 1); local_active_together.add_range(numproc + myid * 2, numproc + myid * 2 + 2); - ConstraintMatrix cm(local_active_together); + AffineConstraints cm(local_active_together); cm.add_line(numproc + myid * 2); cm.close(); diff --git a/tests/mpi/interpolate_04.cc b/tests/mpi/interpolate_04.cc index 1611c2f01f..c601e2b7ac 100644 --- a/tests/mpi/interpolate_04.cc +++ b/tests/mpi/interpolate_04.cc @@ -60,9 +60,9 @@ test() dofh1.distribute_dofs(fe); dofh2.distribute_dofs(fe); - ConstraintMatrix cm1; + AffineConstraints cm1; cm1.close(); - ConstraintMatrix cm2; + AffineConstraints cm2; cm2.close(); IndexSet dof1_locally_owned_dofs = dofh1.locally_owned_dofs(); -- 2.39.5