]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove ConstraintMatrix reference 10487/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 9 Jun 2020 12:55:08 +0000 (08:55 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 11 Jun 2020 12:36:45 +0000 (08:36 -0400)
include/deal.II/lac/affine_constraints.h
tests/ad_common_tests/step-44-helper_scalar_01.h
tests/ad_common_tests/step-44-helper_vector_01.h
tests/adolc/step-44.cc
tests/numerics/project_bv_curl_conf_03.cc

index 79a37a350fe83879e7850570fab2ab31c468eb8a..fa51895567a60b99d4d86ebe7337a52d9038427c 100644 (file)
@@ -419,19 +419,6 @@ template <typename number>
 class AffineConstraints;
 #endif
 
-/**
- * ConstraintMatrix has been renamed to AffineConstraints. Provide a
- * compatibility alias that defaults to AffineConstraints<double>.
- *
- * @deprecated Use AffineConstraints<double> instead of ConstraintMatrix
- */
-using ConstraintMatrix DEAL_II_DEPRECATED = AffineConstraints<double>;
-// Note: Unfortunately, we cannot move this compatibility alias into
-// constraint_matrix.h directly. This would break a lot of user projects
-// that include constraint_matrix.h transitively due to various deal.II
-// headers that include the file.
-
-
 // TODO[WB]: We should have a function of the kind
 //   AffineConstraints::add_constraint (const size_type constrained_dof,
 //     const std::vector<std::pair<size_type, number> > &entries,
index c45248e11ba63d83604d319375767a6f1558354b..e8f1ac25f3da3aa13c522d53d9eacf5e9639c2e1 100644 (file)
@@ -874,7 +874,7 @@ namespace Step44
     const QGauss<dim - 1>                qf_face;
     const unsigned int                   n_q_points;
     const unsigned int                   n_q_points_f;
-    ConstraintMatrix                     constraints;
+    AffineConstraints<double>            constraints;
     BlockSparsityPattern                 sparsity_pattern;
     BlockSparseMatrix<double>            tangent_matrix;
     BlockVector<double>                  system_rhs;
@@ -966,7 +966,7 @@ namespace Step44
     make_grid();
     system_setup();
     {
-      ConstraintMatrix constraints;
+      AffineConstraints<double> constraints;
       constraints.close();
       const ComponentSelectFunction<dim> J_mask(J_component, n_components);
       VectorTools::project(dof_handler_ref,
index 4a8d13570f0193e9db166dc0ba3232c681df02e7..72cd94e8991efe865cead382d7bde6af788c3b1f 100644 (file)
@@ -597,7 +597,7 @@ namespace Step44
     const QGauss<dim - 1>                qf_face;
     const unsigned int                   n_q_points;
     const unsigned int                   n_q_points_f;
-    ConstraintMatrix                     constraints;
+    AffineConstraints<double>            constraints;
     BlockSparsityPattern                 sparsity_pattern;
     BlockSparseMatrix<double>            tangent_matrix;
     BlockVector<double>                  system_rhs;
@@ -687,7 +687,7 @@ namespace Step44
     make_grid();
     system_setup();
     {
-      ConstraintMatrix constraints;
+      AffineConstraints<double> constraints;
       constraints.close();
       const ComponentSelectFunction<dim> J_mask(J_component, n_components);
       VectorTools::project(dof_handler_ref,
index 6f2f19fcd706f7a326dffc00fa29bfb23671dfc6..cd70429a424573be2fbc6b4ed19a911eaec8f829 100644 (file)
@@ -709,7 +709,7 @@ namespace Step44
     const QGauss<dim - 1>                qf_face;
     const unsigned int                   n_q_points;
     const unsigned int                   n_q_points_f;
-    ConstraintMatrix                     constraints;
+    AffineConstraints<double>            constraints;
     BlockSparsityPattern                 sparsity_pattern;
     BlockSparseMatrix<double>            tangent_matrix;
     BlockVector<double>                  system_rhs;
@@ -801,7 +801,7 @@ namespace Step44
     make_grid();
     system_setup();
     {
-      ConstraintMatrix constraints;
+      AffineConstraints<double> constraints;
       constraints.close();
       const ComponentSelectFunction<dim> J_mask(J_component, n_components);
       VectorTools::project(dof_handler_ref,
index 307c5da8fe0b3f6618ac836a03928247fdc365a4..071d8fc702ebfc10a1908916d1eb610925fba4fd 100644 (file)
@@ -39,8 +39,8 @@ main(int argc, char **argv)
 
   Triangulation<dim> triangulation;
   GridGenerator::hyper_cube(triangulation, 0, 1, true);
-  MappingQ<dim>    mapping(1);
-  ConstraintMatrix constraints;
+  MappingQ<dim>             mapping(1);
+  AffineConstraints<double> constraints;
 
   // Testing cases with only Nedelec Elements in FE_System
   {

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.