← Back to team overview

dolfin team mailing list archive

Coefficient members

 

It would be useful if Coefficient had the eval member functions which are common to Expression and Function. Coefficient may no longer be the best name, but are there any objections?

Here's an example of how I would like to use it: I have a Surface class which has a function for representing the surface. This can be a user-defined or a fe function (it cannot change from one to the other). I would like to store it as Coefficient with an eval interface like

Coefficient::evaluate(double* values,
                      const double* coordinates,
                      const ufc::cell& cell) const;

Garth


Follow ups