On Sun, Mar 09, 2008 at 05:58:04AM -0400, Hatef Monajemi wrote: > Hi > I am trying to define initial Conditions for a time dependent pde by > defining a Function and using eval(), However I get runtime error while > solving the problem using LinearPDE solver. the error is as follows: > > terminate called after throwing an instance of 'std::runtime_error' > what(): *** Error: Can only handle assignment from discrete > functions (for now). > does any one know how to tackle this error?
Yes, by implementing assignment from functions that are not discrete... This needs to be done in the Function/DiscreteFunction classes. I'll add it to the TODO list. -- Anders _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
