- edited description
Something's wrong with new geometry algorithms in 1D
Issue #82
resolved
from dolfin import *
parameters['allow_extrapolation'] = True
while True:
mesh = IntervalMesh(70, 0.06, 0.41)
V = FunctionSpace(mesh, 'CG', 1)
u = Function(V)
u(0.02)
After few iterations this raises
*** Error: Unable to complete call to function compute_closest_entity().
*** Reason: Assertion closest_entity < std::numeric_limits<unsigned int>::max() failed.
*** Where: This error was encountered inside /usr/users/blechta/fenics/fenics/src/dolfin/dolfin/geometry/GenericBoundingBoxTree.cpp (line 181).
but works fine with 1.2.0.
Comments (5)
-
reporter -
I have seen this occasionally in 1D too. Perhaps your report should make clear that your test case is1D.
-
reporter - changed title to Something's wrong with new geometry algorithms in 1D
- edited description
Use
IntervalMesh
instead of mesh file in the snippet. -
reporter - removed responsible
-
- changed status to resolved
Fix committed.
- Log in to comment