]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Tests: Fix the remaining tests using complex scalars
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 28 May 2018 20:00:05 +0000 (15:00 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 6 Jun 2018 15:19:38 +0000 (10:19 -0500)
tests/mpi/condense_01.cc
tests/mpi/constraint_matrix_condense_01.cc
tests/mpi/constraint_matrix_set_zero_01.cc
tests/mpi/interpolate_04.cc

index d5b4225e02d0dadcca3f39f04b5bfa72d15baff0..d742f427d9a73e61edb69b8a59c0c375241b41f6 100644 (file)
@@ -71,7 +71,7 @@ test()
   DoFHandler<dim> dof_handler(triangulation);
   dof_handler.distribute_dofs(fe);
 
-  ConstraintMatrix constraints;
+  AffineConstraints<PetscScalar> constraints;
   DoFTools::make_hanging_node_constraints(dof_handler, constraints);
   constraints.close();
 
index 4838e7490c6704bab95c229d0d2ab90608bd1c50..b837a2001e2f43e6e59c60b6c45fca943bd8aa19 100644 (file)
@@ -56,7 +56,7 @@ test()
   force.reinit(locally_owned_dofs, mpi_communicator);
   Assert(!force.has_ghost_elements(), ExcInternalError());
 
-  ConstraintMatrix constraints(locally_relevant_dofs);
+  AffineConstraints<PetscScalar> constraints(locally_relevant_dofs);
   constraints.clear();
   {
     IndexSet boundary_dofs(dof_handler.n_dofs());
index 15948826b4df19d72f4a5ff12c24c2cc7cec78f1..52984cea3027bd56a1398eeadb1dc226e2533e9c 100644 (file)
@@ -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<PetscScalar> cm(local_active_together);
   cm.add_line(numproc + myid * 2);
   cm.close();
 
index 1611c2f01f0758a6cc8acbb889982ee66a9f0239..c601e2b7aca3fabda0a92da94b091565bf27df1b 100644 (file)
@@ -60,9 +60,9 @@ test()
   dofh1.distribute_dofs(fe);
   dofh2.distribute_dofs(fe);
 
-  ConstraintMatrix cm1;
+  AffineConstraints<PetscScalar> cm1;
   cm1.close();
-  ConstraintMatrix cm2;
+  AffineConstraints<PetscScalar> cm2;
   cm2.close();
 
   IndexSet dof1_locally_owned_dofs = dofh1.locally_owned_dofs();

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.