← Back to team overview

dolfin team mailing list archive

Re: binary file format

 

On Tue, Jan 13, 2009 at 08:45:30AM +0100, Martin Sandve Alnæs wrote:
> We just discussed that in another thread, and the answer from
> everybody is yes please, that would be nice. XML file with metadata +
> raw files with arrays is one solution. And of course, there are many
> standardized file formats we could support in time for communication
> with external tools.

How about sticking everything into the XML file but with some suitable
tags:

  <dolfin>
    <vector size="..." format="binary>
      <binary type="..." size="...">stick binary data here</binary>
    </vector>
  </dolfin>

?

-- 
Anders


> Does any mac people know if endian-ness is still a problem for mac/pc
> compatibility after Apple moved to Intel CPUs?
> 
> Martin
> 
> 
> 
> On Tue, Jan 13, 2009 at 12:03 AM, Bartosz Sawicki
> <sawickib@xxxxxxxxxxxxx> wrote:
> > Hi all,
> > Usually I work with a large problems, where number of cells are
> > millions. Storing data in XML is not a perfect solution for files with a
> > size over 100MB - even gziped files are huge, parsing takes a notable
> > time, and so on.
> >
> > What do you think about extending dolfin with binary file format feature?
> > I can work on implementation, but all thoughts will be appreciated.
> >
> > regrd.
> > BArtek
> >
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> >
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev

Attachment: signature.asc
Description: Digital signature


Follow ups

References