← Back to team overview

dolfin team mailing list archive

Re: i/o: reading time dep functions

 

On Fri, May 11, 2007 at 03:54:42PM +0200, Johan Hoffman wrote:

> Do we have support for reading time dependent functions? And if so, is
> there a demo around? I couldn't find such a functionality in XMLFunction?
> 
> /Johan

No, we just have static functions at this point. So you need to have
one function per file.

We could add something like a new class TimeSeries and implement XML
input/output for that:

<timeseries>
    <frame t="0.0">
        <function>
            ...
        </function>
    </frame>
</timeseries>

This might be useful to have, but for efficient reading/writing of
functions, one may consider a binary format that just reads and writes
the dofs.

/Anders


Follow ups

References