Skip to content
Snippets Groups Projects
Commit 19e2b444 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Make missing gradient implementation of curl-based enery a runtime error

It used to be a compile-term error, but now that we have ADOL-C support
the missing gradient is not a problem anymore.

[[Imported from SVN: r9516]]
parent 50d3e93f
No related branches found
No related tags found
No related merge requests found
......@@ -764,7 +764,7 @@ curvatureEnergyGradient(typename TargetSpace::EmbeddedTangentVector& embeddedLoc
const Dune::array<Tensor3<field_type,3,3,4>, 3>& dDR_dv) const
{
#ifndef DONT_USE_CURL
#error curvatureEnergyGradient not implemented for the curl curvature energy
DUNE_THROW(Dune::NotImplemented, "curvatureEnergyGradient not implemented for the curl curvature energy!");
#endif
embeddedLocalGradient = 0;
......
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