]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid using a constructor that is to be deprecated.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 14 May 2024 02:07:16 +0000 (20:07 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 23 May 2024 16:38:48 +0000 (10:38 -0600)
include/deal.II/numerics/vector_tools_project.h

index 26f5b6f85334b7bab045d534c109f17551f073ae..2190fc8565706f5ccd03440eb71b7f90673e2dca 100644 (file)
@@ -152,7 +152,7 @@ namespace VectorTools
     VectorType                                                &vec,
     const bool                 enforce_zero_boundary = false,
     const Quadrature<dim - 1> &q_boundary = (dim > 1 ? QGauss<dim - 1>(2) :
-                                                       Quadrature<dim - 1>(0)),
+                                                       Quadrature<dim - 1>()),
     const bool                 project_to_boundary_first = false);
 
   /**
@@ -171,7 +171,7 @@ namespace VectorTools
     VectorType                                                &vec,
     const bool                 enforce_zero_boundary = false,
     const Quadrature<dim - 1> &q_boundary = (dim > 1 ? QGauss<dim - 1>(2) :
-                                                       Quadrature<dim - 1>(0)),
+                                                       Quadrature<dim - 1>()),
     const bool                 project_to_boundary_first = false);
 
   /**
@@ -190,7 +190,7 @@ namespace VectorTools
     VectorType                                                &vec,
     const bool                      enforce_zero_boundary = false,
     const hp::QCollection<dim - 1> &q_boundary = hp::QCollection<dim - 1>(
-      dim > 1 ? QGauss<dim - 1>(2) : Quadrature<dim - 1>(0)),
+      dim > 1 ? QGauss<dim - 1>(2) : Quadrature<dim - 1>()),
     const bool project_to_boundary_first = false);
 
   /**
@@ -209,7 +209,7 @@ namespace VectorTools
     VectorType                                                &vec,
     const bool                      enforce_zero_boundary = false,
     const hp::QCollection<dim - 1> &q_boundary = hp::QCollection<dim - 1>(
-      dim > 1 ? QGauss<dim - 1>(2) : Quadrature<dim - 1>(0)),
+      dim > 1 ? QGauss<dim - 1>(2) : Quadrature<dim - 1>()),
     const bool project_to_boundary_first = false);
 
   /**

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.