dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #14706
Re: [HG DOLFIN] Add support for compressed VTK files.
On Thu, August 13, 2009 05:01, DOLFIN wrote:
> 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.
Done. I enabled it by default. To disable zlib, use enableZlib=no. By
default it will use zlib from /usr (if found) or one can use
withZlibDir=/some/path/to/zlib to specify a different path to zlib.
Johannes
References