← Back to team overview

ffc team mailing list archive

Forms

 

I couldn't find in the UFL manual whether or not there is something special about 'a' and 'L' denoting bilinear and linear forms, respectively, or if this determined by the form compiler?

Either way, it seems that some checks are missing in either UFL or FFC since

  element = FiniteElement("Lagrange", triangle, 1)
  v = TestFunction(element)
  u = TrialFunction(element)
  f = Function(element)

  a = inner(grad(v), grad(u))*dx + v*f*dx

doesn't result in an error. I would expect this to give an error.

Garth


Follow ups