← Back to team overview

dolfin team mailing list archive

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

 

"Garth N. Wells" <gnw20@xxxxxxxxx> writes:

> Niclas Jansson wrote:
>> 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.
>>
>
> It now test for endianness. Could you test it? I don't have access to
> a big-endian machine.
>
> Garth
>


It works, but I've only tested it on big-endian mips4.

Niclas


References