Writing subfunction to xml file seg faults
Bug #1065005 reported by
Marie Rognes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Confirmed
|
High
|
Unassigned |
Bug Description
I get a segmentation fault with the below:
from dolfin import *
mesh = UnitSquare(2, 2)
V = FunctionSpace(mesh, "CG", 1)
W = V*V
vs = Function(W)
(v, s) = vs.split()
file = File("foo.xml")
file << v
This is easily avoidable by doing split(deepcopy=
To post a comment you must log in.
Probably affects XDMF too. We should add a unit test.