Comment 1 for bug 901069

Revision history for this message
Johan Hake (johan-hake) wrote :

Try:

  project(f_fine, V_coarse)

Which essentially does what you describe, but using

  b = assemble(rhs)

AFAIK this is the L2 projection of f unto V_coarse.

Also the mesh argument to assemble is only used when the form does not contain any mesh.