]> https://gitweb.dealii.org/ - dealii.git/commitdiff
find other places to AssertThrow for missing dependencies 9533/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 15 Feb 2020 05:26:35 +0000 (00:26 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sat, 15 Feb 2020 05:26:35 +0000 (00:26 -0500)
source/base/function_parser.cc
source/base/tensor_function_parser.cc
source/grid/grid_in.cc

index 924c7dd0bfeffb5bece1c9571154dac62c3bf953..50a231323ea5904a9fc2806353aaef9a8d3a0175 100644 (file)
@@ -339,7 +339,7 @@ FunctionParser<dim>::initialize(const std::string &,
                                 const std::map<std::string, double> &,
                                 const bool)
 {
-  Assert(false, ExcNeedsFunctionparser());
+  AssertThrow(false, ExcNeedsFunctionparser());
 }
 
 template <int dim>
@@ -349,7 +349,7 @@ FunctionParser<dim>::initialize(const std::string &,
                                 const std::map<std::string, double> &,
                                 const bool)
 {
-  Assert(false, ExcNeedsFunctionparser());
+  AssertThrow(false, ExcNeedsFunctionparser());
 }
 
 
@@ -358,7 +358,7 @@ template <int dim>
 double
 FunctionParser<dim>::value(const Point<dim> &, unsigned int) const
 {
-  Assert(false, ExcNeedsFunctionparser());
+  AssertThrow(false, ExcNeedsFunctionparser());
   return 0.;
 }
 
@@ -367,7 +367,7 @@ template <int dim>
 void
 FunctionParser<dim>::vector_value(const Point<dim> &, Vector<double> &) const
 {
-  Assert(false, ExcNeedsFunctionparser());
+  AssertThrow(false, ExcNeedsFunctionparser());
 }
 
 
index f77927125d3fd411509b86e891b9b7548ff1f1e4..8bcde38b3f2264f7829558eb3d499ce17c19fbe9 100644 (file)
@@ -354,7 +354,7 @@ TensorFunctionParser<rank, dim, Number>::initialize(
   const std::map<std::string, double> &,
   const bool)
 {
-  Assert(false, ExcNeedsFunctionparser());
+  AssertThrow(false, ExcNeedsFunctionparser());
 }
 
 template <int rank, int dim, typename Number>
@@ -365,7 +365,7 @@ TensorFunctionParser<rank, dim, Number>::initialize(
   const std::map<std::string, double> &,
   const bool)
 {
-  Assert(false, ExcNeedsFunctionparser());
+  AssertThrow(false, ExcNeedsFunctionparser());
 }
 
 
@@ -374,7 +374,7 @@ template <int rank, int dim, typename Number>
 Tensor<rank, dim, Number>
 TensorFunctionParser<rank, dim, Number>::value(const Point<dim> &) const
 {
-  Assert(false, ExcNeedsFunctionparser());
+  AssertThrow(false, ExcNeedsFunctionparser());
   return Tensor<rank, dim, Number>();
 }
 
@@ -386,7 +386,7 @@ TensorFunctionParser<rank, dim, Number>::value_list(
   const std::vector<Point<dim>> &,
   std::vector<Tensor<rank, dim, Number>> &) const
 {
-  Assert(false, ExcNeedsFunctionparser());
+  AssertThrow(false, ExcNeedsFunctionparser());
 }
 
 
index 547a40707736ba86525fb74eb157a4d1b73c01c6..a046132edf5f13ac485bb840ea9d54c1d9d0b6a0 100644 (file)
@@ -3122,7 +3122,7 @@ GridIn<dim, spacedim>::read_assimp(const std::string &filename,
   (void)remove_duplicates;
   (void)tol;
   (void)ignore_unsupported_types;
-  Assert(false, ExcNeedsAssimp());
+  AssertThrow(false, ExcNeedsAssimp());
 #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.