]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix default mapping parameter in VectorTools boundary functions 10647/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 2 Jul 2020 13:49:28 +0000 (09:49 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 2 Jul 2020 13:52:56 +0000 (09:52 -0400)
include/deal.II/numerics/vector_tools_boundary.h

index 271632d42e5e0723472a9426a78187d5528eaac7..9331e7113b539a89e79433ab797ec91f15176a88 100644 (file)
@@ -553,7 +553,7 @@ namespace VectorTools
     const Function<dim, double> &boundary_function,
     const types::boundary_id     boundary_component,
     AffineConstraints<double> &  constraints,
-    const Mapping<dim> &         mapping = StaticMappingQ1<dim>::mapping);
+    const Mapping<dim> &         mapping);
 
   /**
    * Same as above for the hp-namespace.
@@ -697,7 +697,8 @@ namespace VectorTools
     const Function<dim, number> &          boundary_function,
     const types::boundary_id               boundary_component,
     AffineConstraints<number> &            constraints,
-    const hp::MappingCollection<dim, dim> &mapping_collection);
+    const hp::MappingCollection<dim, dim> &mapping_collection =
+      hp::StaticMappingQ1<dim>::mapping_collection);
 
 
   /**
@@ -772,7 +773,8 @@ namespace VectorTools
     const Function<dim, double> &          boundary_function,
     const types::boundary_id               boundary_component,
     AffineConstraints<double> &            constraints,
-    const hp::MappingCollection<dim, dim> &mapping_collection);
+    const hp::MappingCollection<dim, dim> &mapping_collection =
+      hp::StaticMappingQ1<dim>::mapping_collection);
 
   // @}
 } // namespace VectorTools

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.