← Back to team overview

ffc team mailing list archive

DOLFIN wrapper code

 

There is a mistake in the DOLFIN wrapper code generated by FFC for the DG Poisson problem. The two coefficient functions in the FFC input for the bilinear are

  n = FacetNormal("triangle")
  h = MeshSize("triangle")


but in PoissonBilinearForm we have

  // Coefficients
  PoissonBilinearFormCoefficient0 f;
  PoissonBilinearFormCoefficient1 n;

There is a function called 'f' in the linear form.

Garth