← Back to team overview

yade-users team mailing list archive

Re: [Question #664191]: binary vtu/vtk

 

Question #664191 on Yade changed:
https://answers.launchpad.net/yade/+question/664191

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,
The vtu comes from "writer.Write()" [1] where writer is a vtkXMLUnstructuredGridWriter from Vtk lib.

The config parameters currently are VTKRecorder::compressor and VTKRecorder::ascii, based on which:
...
if(compress) writer->SetCompressor(compressor);
if(ascii) writer->SetDataModeToAscii();
...

If you know other usefull options available in vtk6 they can easily be
inserted in the source code with the same method.

Cheers

Bruno

[1]
https://github.com/yade/trunk/blob/master/pkg/dem/VTKRecorder.cpp#L926

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.