← Back to team overview

dolfin team mailing list archive

Re: function: [...]

 

Ooops. This was exactly the reason why I changed the interface from
overloading operator() to overloading eval(), to avoid the infinite
loop, but I forgot to finish my thought.

I'll fix it.

/Anders


On Tue, Dec 13, 2005 at 03:01:27AM +0100, dolfin@xxxxxxxxxx wrote:
> Commit from johanjan (2005-12-13 03:01 CET)
> --------------------
> 
> function:
> 
> Add FIXME. A user-defined function which doesn't implement eval() (or
> implements the wrong prototype) will go into an infinite loop when
> using UserFunction::interpolate(). It will call Function::eval() which
> will call UserFunction::operator() which will call Function::eval()
> etc.
> 
>   dolfin  src/kernel/function/UserFunction.cpp  1.5
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> 

-- 
Anders Logg
Research Assistant Professor
Toyota Technological Institute at Chicago
http://www.tti-c.org/logg/



References