← Back to team overview

dolfin team mailing list archive

new Function design

 

I have a few questions and thoughts regarding the new Function design

* It's not clear to me what the intention is with user-defined functions. The functions Function::interpolate(...) never call eval(..), so they can't pick up user-defined values. Should Function::interpolate test for the presence of a GenericVector to decide whether or not the Function is discrete or user-defined?

* It would be useful to declare user-defined functions without associating a FunctionSpace. If we want to interpolate the function, a FunctionSpace must then be provided. Anyone see any problems with this?

Garth


Follow ups