]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark some tests as depending on LAPACK.
authorDavid Wells <drwells@email.unc.edu>
Tue, 24 May 2022 17:44:16 +0000 (13:44 -0400)
committerDavid Wells <drwells@email.unc.edu>
Fri, 27 May 2022 03:30:13 +0000 (23:30 -0400)
While we're at it - throw an exception if we don't have LAPACK in the
class that uses it.

source/non_matching/mesh_classifier.cc
tests/non_matching/fe_interface_values.with_lapack=on.output [moved from tests/non_matching/fe_interface_values.output with 100% similarity]
tests/non_matching/fe_interface_values_non_standard_meshes.with_lapack=on.output [moved from tests/non_matching/fe_interface_values_non_standard_meshes.output with 100% similarity]
tests/non_matching/fe_values.with_lapack=on.output [moved from tests/non_matching/fe_values.output with 100% similarity]
tests/non_matching/mesh_classifier.with_lapack=on.output [moved from tests/non_matching/mesh_classifier.output with 100% similarity]

index 0566abe4ac5e7dbd51341a5e4e72bfab84439be1..d88a69e35a114760f0975456a059b61acd05ad64 100644 (file)
@@ -321,6 +321,7 @@ namespace NonMatching
           dof_handler,
           level_set))
   {
+#ifdef DEAL_II_WITH_LAPACK
     const hp::FECollection<dim> &fe_collection =
       dof_handler.get_fe_collection();
     for (unsigned int i = 0; i < fe_collection.size(); i++)
@@ -333,6 +334,9 @@ namespace NonMatching
                  "The elements in the FECollection of the incoming DoFHandler "
                  "must have face support points."));
       }
+#else
+    AssertThrow(false, ExcNeedsLAPACK());
+#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.