dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21333
[Bug 663949] Re: Form assembly crashes for derivative without 3rd argument
Here's some simple code that moves one step backwards:
from dolfin import *
mesh = UnitSquare(2, 2)
V = FunctionSpace(mesh, "Lagrange", 1)
w = Function(V)
J = w*w*dx
#F = derivative(J, w, v) # works
F = derivative(J, w) # breaks
I = derivative(F, w) # works
** Changed in: dolfin
Milestone: 1.0.0 => 0.9.10
** Changed in: dolfin
Assignee: (unassigned) => Johan Hake (johan-hake)
--
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/663949
Title:
Form assembly crashes for derivative without 3rd argument
Status in DOLFIN:
Confirmed
Bug description:
Reproduce with:
mesh = UnitSquare(1, 1)
V = FunctionSpace(mesh, "CG", 1)
u = Function(V)
v = TestFunction(V)
F = u*v*dx
a = derivative(F, u)
A = assemble(a)
References