From: Daniel Arndt Date: Mon, 28 May 2018 16:22:42 +0000 (+0200) Subject: Tests: Fix nearly all the failing PETSc complex tests X-Git-Tag: v9.1.0-rc1~1067^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62d91ba8636af787d741eda8099d61824f3c81e6;p=dealii.git Tests: Fix nearly all the failing PETSc complex tests --- diff --git a/tests/mpi/petsc_distribute_01.cc b/tests/mpi/petsc_distribute_01.cc index f98c71cc3f..85e8615e5b 100644 --- a/tests/mpi/petsc_distribute_01.cc +++ b/tests/mpi/petsc_distribute_01.cc @@ -69,7 +69,7 @@ test() std::max(100 * myid - 50, 0), std::min(static_cast(100 * myid + 150), vec.size())); - ConstraintMatrix cm(locally_relevant_range); + AffineConstraints cm(locally_relevant_range); // add constraints that constrain an element in the middle of the // local range of each processor against an element outside, both in diff --git a/tests/mpi/petsc_distribute_01_block.cc b/tests/mpi/petsc_distribute_01_block.cc index c8fb5b7bc4..54ff06d7e4 100644 --- a/tests/mpi/petsc_distribute_01_block.cc +++ b/tests/mpi/petsc_distribute_01_block.cc @@ -85,7 +85,7 @@ test() vec.block(0).size() + std::min(static_cast(100 * myid + 150), vec.block(0).size())); - ConstraintMatrix cm(locally_relevant_range); + AffineConstraints cm(locally_relevant_range); // add constraints that constrain an element in the middle of the // local range of each processor against an element outside, both in diff --git a/tests/mpi/petsc_distribute_01_inhomogenous.cc b/tests/mpi/petsc_distribute_01_inhomogenous.cc index 7e99deeb04..7e346f79a2 100644 --- a/tests/mpi/petsc_distribute_01_inhomogenous.cc +++ b/tests/mpi/petsc_distribute_01_inhomogenous.cc @@ -61,7 +61,7 @@ test() std::max(100 * myid - 50, 0), std::min(static_cast(100 * myid + 150), vec.size())); - ConstraintMatrix cm(locally_relevant_range); + AffineConstraints cm(locally_relevant_range); // add constraints that constrain an element in the middle of the // local range of each processor against an element outside, both in diff --git a/tests/petsc_complex/assemble_01.cc b/tests/petsc_complex/assemble_01.cc index 151ba4c5b4..2e449b256d 100644 --- a/tests/petsc_complex/assemble_01.cc +++ b/tests/petsc_complex/assemble_01.cc @@ -45,7 +45,7 @@ main(int argc, char **argv) FullMatrix cell_matrix(n, n); Vector cell_rhs(n); - ConstraintMatrix constraints; + AffineConstraints constraints; constraints.close(); std::vector gdi(n); diff --git a/tests/petsc_complex/parallel_sparse_matrix_01.cc b/tests/petsc_complex/parallel_sparse_matrix_01.cc index e006612b5a..2525a136c2 100644 --- a/tests/petsc_complex/parallel_sparse_matrix_01.cc +++ b/tests/petsc_complex/parallel_sparse_matrix_01.cc @@ -85,7 +85,7 @@ test(const unsigned int poly_degree = 1) vector.reinit(locally_owned_dofs, mpi_communicator); - ConstraintMatrix constraints; + AffineConstraints constraints; constraints.reinit(locally_relevant_dofs); DoFTools::make_hanging_node_constraints(dof_handler, constraints); constraints.close();