Skip to content
Snippets Groups Projects
Commit cbed2823 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Clearer

parent d429e225
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ template <int dim> class EllipticEnergy {
// If there is a direction of descent, this is it
SmallVector d;
smoothGradient(x, d);
d *= -1;
Interval<double> D;
phi->directionalSubDiff(x, d, D);
......@@ -48,7 +49,6 @@ template <int dim> class EllipticEnergy {
if (combinedDecline < 0) {
ret = d;
ret *= -1;
} else {
ret = 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