I tried to do

   u0.vector() = u1.vector()

where u0 and u1 are both discrete functions, in PyDOLFIN but it doesn't 
work so I'm using

   u0.vector().assign( u1.vector() )

Is there a fundamental reason why '=' can't be used or does SWIG just 
need to be told how to overload '=' for vectors?

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

Reply via email to