dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12517
Re: Bug(?) using multiple discrete functions in forms
On Wed, Mar 04, 2009 at 11:03:15PM -0500, mspieg wrote:
>
> On Mar 4, 2009, at 3:59 PM, Anders Logg wrote:
>
>
> On Wed, Mar 04, 2009 at 09:42:13PM +0100, Anders Logg wrote:
>
>
> Until this is in place, you should be able to do this already
> now. Just store the vectors to file and read them back in again.
>
> file << u.vector()
>
> file >> u.vector()
>
>
> On second thought, try the new constructor I just added:
>
> Function u(V, "vector.xml");
>
>
>
> Thanks Anders,
> will do (as soon as my dolfin is working again, I think I pulled a bit too
> soon, File.cpp is generating compiler errors
>
> cc1plus: warnings being treated as errors
> dolfin/io/XMLHandler.h:18: warning: 'class dolfin::XMLHandler' has virtual
> functions but non-virtual destructor
Should be fixed now.
--
Anders
> But your temporary fix of just loading from vectors works perfectly in
> python...thanks
> marc
>
>
>
> When it's been verified that this works both in Python and C++, and
> the demos have been migrated we can remove the precompiled elements.
>
>
>
> ----------------------------------------------------
> Marc Spiegelman
> Lamont-Doherty Earth Observatory
> Dept. of Applied Physics/Applied Math
> Columbia University
> http://www.ldeo.columbia.edu/~mspieg
> tel: 845 704 2323 (SkypeIn)
> ----------------------------------------------------
>
>
Attachment:
signature.asc
Description: Digital signature
References