← Back to team overview

dolfin team mailing list archive

Re: [Question #105644]: Weakform of nonlinear equation

 

Question #105644 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/105644

    Status: Solved => Open

Jack is still having a problem:
I just spotted that  ffc -l dolfin Nonlinear.ufl gives this error at the
end:

Compiler stage 2: Computing intermediate representation
-------------------------------------------------------
  Computing representation of 1 elements
  Computing representation of 1 dofmaps
  Computing representation of integrals
  Computing tensor representation
  Extracting monomial form representation from UFL form
  Transforming monomial form to reference element
  Precomputing integrals on reference element
  Precomputing integrals on reference element
Unable to extract all indices.
  
*** FFC: Unable to extract all indices.
*** FFC: To get more information about this error, rerun FFC with --debug.


This is what I have in my UFL form file

element = FiniteElement("Lagrange", "interval", 2)

v  = TestFunction(element)
du = TrialFunction(element)

u  = Coefficient(element)

L  = inner(grad(v), grad(u))*dx - 2*u*u.dx(0)*dx
a  = derivative(L, u, du)


Thanks

Jack

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.