← Back to team overview

ffc team mailing list archive

Add operator mean(). [...]

 

Commit from logg (2005-11-08 23:34 CET)
----------------

Add operator mean().

Works for both scalar and vector-valued functions and computes the
projection onto the proper space of piecewise constant functions,
either "Discontinuous Lagrange" or "Discontinuous vector Lagrange",
depending on rank of Function.

  ffc  ChangeLog                          1.93
  ffc  TODO                               1.55
  ffc  src/demo/Projection.form           1.3
  ffc  src/ffc/compiler/finiteelement.py  1.30
  ffc  src/ffc/compiler/operators.py      1.11
  ffc  src/ffc/compiler/projection.py     1.5