← Back to team overview

dolfin team mailing list archive

Re: new Function design

 



Anders Logg wrote:
On Tue, Oct 21, 2008 at 04:45:01PM +0100, Garth N. Wells wrote:
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
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev

Where did Function.h/cpp go? I can't find them:

http://www.fenics.org/hg/dolfin?cmd=manifest;manifest=1ea1a02ad1a80000bc3b278a55d8a0e2fc34613c;path=/dolfin/function/


Not sure what happened. I did 'hg remove' and then 'hg rename' which mustn't work as expected.

Should all be there now.

Garth



------------------------------------------------------------------------

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev



References