← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Add support for compressed VTK files.

 

dolfin@xxxxxxxxxx (DOLFIN) writes:

> One or more new changesets pushed to the primary dolfin repository.
> A short summary of the last three changesets is included below.
>
> changeset:   6716:24d8c573db7195926567b4e543b340531d054841
> tag:         tip
> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> date:        Thu Aug 13 04:00:48 2009 +0100
> files:       ChangeLog dolfin/io/Encoder.h dolfin/io/VTKFile.cpp dolfin/io/VTKFile.h
> description:
> Add support for compressed VTK files.
>
> To enable, do
>
>     ./scons.local customCxxFlags=-DHAS_ZLIB=1 customLinkFlags=-lz
>
> and
>
>   File file("poisson.pvd", "compressed");
>
> Reduces file size by orders of magnitude.
>
> Could one of the SCons experts add a test for zlib? I doubt that there is a UNIX/Linux machine around without it.
>

I think we should to test endianness as well, there are still modern big-endian
machines around.

Niclas



Follow ups

References