Skip to content
Snippets Groups Projects
Commit e595d160 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[geomechanics] Improve exception message

parent 0e4af212
No related branches found
No related tags found
1 merge request!2888Feature/base spatialparams v2
Pipeline #13339 waiting for manual action
...@@ -121,7 +121,7 @@ private: ...@@ -121,7 +121,7 @@ private:
template< class Problem, class Element, class Scv, class ElemSol, template< class Problem, class Element, class Scv, class ElemSol,
bool enableEB = enableEnergyBalance, typename std::enable_if_t<enableEB, bool> = 0 > bool enableEB = enableEnergyBalance, typename std::enable_if_t<enableEB, bool> = 0 >
void setSolidTemperature_(const Problem& problem, const Element& element, const Scv& scv, const ElemSol& elemSol) void setSolidTemperature_(const Problem& problem, const Element& element, const Scv& scv, const ElemSol& elemSol)
{ DUNE_THROW(Dune::InvalidStateException, "Non-isothermal elastic model."); } { DUNE_THROW(Dune::NotImplemented, "Non-isothermal elastic model."); }
//! sets the temperature in the solid state for isothermal models //! sets the temperature in the solid state for isothermal models
template< class Problem, class Element, class Scv, class ElemSol, template< class Problem, class Element, class Scv, class ElemSol,
......
...@@ -145,7 +145,7 @@ private: ...@@ -145,7 +145,7 @@ private:
template< class Problem, class Element, class Scv, class ElemSol, template< class Problem, class Element, class Scv, class ElemSol,
bool enableEB = enableEnergyBalance, typename std::enable_if_t<enableEB, bool> = 0 > bool enableEB = enableEnergyBalance, typename std::enable_if_t<enableEB, bool> = 0 >
void setSolidTemperature_(const Problem& problem, const Element& element, const Scv& scv, const ElemSol& elemSol) void setSolidTemperature_(const Problem& problem, const Element& element, const Scv& scv, const ElemSol& elemSol)
{ DUNE_THROW(Dune::InvalidStateException, "Non-isothermal elastic model."); } { DUNE_THROW(Dune::NotImplemented, "Non-isothermal poroelastic model."); }
//! sets the temperature in the solid state for isothermal models //! sets the temperature in the solid state for isothermal models
template< class Problem, class Element, class Scv, class ElemSol, template< class Problem, class Element, class Scv, class ElemSol,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment