Commit 63683d59 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Implement BoxConstrainedQuadraticDirectionalRestriction::operator()

parent 1a8a1c71
Pipeline #50148 passed with stage
in 8 minutes and 42 seconds
......@@ -212,7 +212,9 @@ public:
Range operator()(const Vector& v) const
DUNE_THROW(Dune::NotImplemented, "Evaluation of QuadraticCoordinateRestriction not implemented");
if (checkInsideBox(v, lowerObstacle(), upperObstacle()))
return Base::operator()(v);
return std::numeric_limits<Range>::max();
const LowerObstacle& lowerObstacle() const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment