From: Timo Heister Date: Sat, 15 Feb 2020 05:26:35 +0000 (-0500) Subject: find other places to AssertThrow for missing dependencies X-Git-Tag: v9.2.0-rc1~514^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ce705e44b138ab44e87d0543c986b324c9e2cd0;p=dealii.git find other places to AssertThrow for missing dependencies --- diff --git a/source/base/function_parser.cc b/source/base/function_parser.cc index 924c7dd0bf..50a231323e 100644 --- a/source/base/function_parser.cc +++ b/source/base/function_parser.cc @@ -339,7 +339,7 @@ FunctionParser::initialize(const std::string &, const std::map &, const bool) { - Assert(false, ExcNeedsFunctionparser()); + AssertThrow(false, ExcNeedsFunctionparser()); } template @@ -349,7 +349,7 @@ FunctionParser::initialize(const std::string &, const std::map &, const bool) { - Assert(false, ExcNeedsFunctionparser()); + AssertThrow(false, ExcNeedsFunctionparser()); } @@ -358,7 +358,7 @@ template double FunctionParser::value(const Point &, unsigned int) const { - Assert(false, ExcNeedsFunctionparser()); + AssertThrow(false, ExcNeedsFunctionparser()); return 0.; } @@ -367,7 +367,7 @@ template void FunctionParser::vector_value(const Point &, Vector &) const { - Assert(false, ExcNeedsFunctionparser()); + AssertThrow(false, ExcNeedsFunctionparser()); } diff --git a/source/base/tensor_function_parser.cc b/source/base/tensor_function_parser.cc index f77927125d..8bcde38b3f 100644 --- a/source/base/tensor_function_parser.cc +++ b/source/base/tensor_function_parser.cc @@ -354,7 +354,7 @@ TensorFunctionParser::initialize( const std::map &, const bool) { - Assert(false, ExcNeedsFunctionparser()); + AssertThrow(false, ExcNeedsFunctionparser()); } template @@ -365,7 +365,7 @@ TensorFunctionParser::initialize( const std::map &, const bool) { - Assert(false, ExcNeedsFunctionparser()); + AssertThrow(false, ExcNeedsFunctionparser()); } @@ -374,7 +374,7 @@ template Tensor TensorFunctionParser::value(const Point &) const { - Assert(false, ExcNeedsFunctionparser()); + AssertThrow(false, ExcNeedsFunctionparser()); return Tensor(); } @@ -386,7 +386,7 @@ TensorFunctionParser::value_list( const std::vector> &, std::vector> &) const { - Assert(false, ExcNeedsFunctionparser()); + AssertThrow(false, ExcNeedsFunctionparser()); } diff --git a/source/grid/grid_in.cc b/source/grid/grid_in.cc index 547a407077..a046132edf 100644 --- a/source/grid/grid_in.cc +++ b/source/grid/grid_in.cc @@ -3122,7 +3122,7 @@ GridIn::read_assimp(const std::string &filename, (void)remove_duplicates; (void)tol; (void)ignore_unsupported_types; - Assert(false, ExcNeedsAssimp()); + AssertThrow(false, ExcNeedsAssimp()); #endif }