Dofmap construction fails for VectorFunctionSpace(mesh, 'CG', 3, restriction='facet')

Issue #444 new
Prof Garth Wells created an issue

The below code reproduces the error:

from dolfin import *
mesh = UnitSquareMesh(2, 2)
V = VectorFunctionSpace(mesh, 'CG', 3, restriction='facet')

Comments (7)

  1. Chris Richardson

    Seems to be around line 1174 of DofMapBuilder.cpp - I'm not sure what to fix, but I've put an assert in, which fails... see branch chris/fix-issue-444

  2. Chris Richardson

    I'm not sure, but the bug could possibly be in ffc. I think the scalar subdofmap of a restricted VectorFunctionSpace should also be restricted, and it is not, leading to an overflow...

  3. Log in to comment