dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19970
Re: [Bug 663949] Re: Form assembly crashes for derivative without 3rd argument
On 20. okt. 2010 17:46, Garth Wells wrote:
> I'm not sure what's being reported here. Would you expect a more
> informative error? To me it's correct that an error is thrown since in
> UFL 'derivative' -> directional derivative.
>
>
UFL also supports
derivative(F, u)
by creating a TrialFunction du and calling derivative(F, u, du).
I would expect this to also be supported by dolfin -> cf Johan's reply.
--
Marie
--
Form assembly crashes for derivative without 3rd argument
https://bugs.launchpad.net/bugs/663949
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
Status in DOLFIN: New
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