Commit 0df979f2 authored by Martin Reinecke's avatar Martin Reinecke
Browse files


parent 54c659a9
Pipeline #29973 passed with stages
in 3 minutes and 15 seconds
......@@ -55,7 +55,6 @@ def check_value_gradient_consistency(E, tol=1e-6, ntries=100):
dirder = E.gradient.vdot(dir)/dirnorm
for i in range(50):
if abs((E2.value-val)/dirnorm-dirder) < tol:
print i, dirnorm, dirder, E2.value-val
dir *= 0.5
dirnorm *= 0.5
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