← Back to team overview

dolfin team mailing list archive

[Bug 663949] Re: Form assembly crashes for derivative without 3rd argument

 

What would the different cases be:

  mesh = UnitSquare(1, 1)
  V = FunctionSpace(mesh, "CG", 1)
  u = Function(V)
  v = TestFunction(V)

  1) derivative(u*v*dx, u)
  2) derivative(u*dx, u)
  3) ?

I am positive that 1 and 2 can be solved with a dolfin.derivative.

Johan

-- 
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