← Back to team overview

dolfin team mailing list archive

Re: Version 0.6.0?

 

On Mon, Feb 13, 2006 at 04:37:06PM -0600, Anders Logg wrote:
> On Mon, Feb 13, 2006 at 09:27:07PM +0100, Garth N. Wells wrote:
> 
> > [...]
> >
> > Yes.  I'm thinking that the main purpose of writing a function to a file
> > is to allow a particular simulation to be restarted. In the vast
> > majority of cases, a vector would be enough, and the mesh would be
> > useful too in case a mesh is thrown away. When restarting a solver, I
> > would expect that the user would already have the element available.   
> > 
> > Garth
> 
> Input/output of Vector from XML should work now.
> 
> Should be "easy" to add XML input/output for Function in the same way.
> Anyone has a minute to spare to try and fix it?
> 

I've started looking at this. If Vector and Mesh have input/output,
then a Function should just have to write those two in the same file
(alternatively store filenames of a vector and a mesh). We should make
all the DOLFIN XML io functions write XML fragments only (i.e. skip
the header), then we can reuse them in the way I've described. I'll
work on this tomorrow.

We can assume the incoming file is a valid DOLFIN XML file (by Schema
validation). The schema doesn't exist yet, but it will eventually..

  Johan



Follow ups

References