Local mesh refinement fails in 1D

Issue #447 resolved
Matthias Liertzer created an issue

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)

  1. Chris Richardson

    you can work around by setting parameters['refinement_method'] = 'regular_cut' but I'll push a fix for this soon

  2. Matthias Liertzer reporter

    I already tried that, but 'regular_cut' is also only applicable to 2D geometries.

  3. Log in to comment