-
assigned issue to
Local mesh refinement fails in 1D
Issue #447
resolved
After updating from 1.4 to dolfin master the following code results in a segmentation fault:
from dolfin import *
mesh = UnitIntervalMesh(20)
cell_markers = CellFunction("bool", mesh)
cell_markers[0] = True
mesh2 = refine(mesh, cell_markers)
Comments (6)
-
-
you can work around by setting
parameters['refinement_method'] = 'regular_cut'
but I'll push a fix for this soon -
reporter I already tried that, but 'regular_cut' is also only applicable to 2D geometries.
-
@mliertzer OK - I will fix it. At least 1D refinement is easy to implement.
-
- changed status to resolved
Fix now in master
-
- removed milestone
Removing milestone: 1.5 (automated comment)
- Log in to comment