]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Try to see whether we can avoid special-casing for MS VC in one place. 12395/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 7 Jun 2021 16:09:33 +0000 (10:09 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 Jun 2021 17:04:15 +0000 (11:04 -0600)
This error is currently triggered when running step-21. It is possible that with the move
to get_default_linear_mapping(dof.get_triangulation()) we no longer need this.

include/deal.II/numerics/vector_tools_project.templates.h

index 06a8f4e29840cf155baf66ce4e798055f3a1c74a..b61b56ec1bf7af66d6bd212b492494b982706433 100644 (file)
@@ -882,11 +882,6 @@ namespace VectorTools
           const Quadrature<dim - 1> &q_boundary,
           const bool                 project_to_boundary_first)
   {
-#ifdef _MSC_VER
-    Assert(false,
-           ExcMessage("Please specify the mapping explicitly "
-                      "when building with MSVC!"));
-#else
     project(get_default_linear_mapping(dof.get_triangulation()),
             dof,
             constraints,
@@ -896,7 +891,6 @@ namespace VectorTools
             enforce_zero_boundary,
             q_boundary,
             project_to_boundary_first);
-#endif
   }
 
 

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.