[Paraview] Append DataSet Filter and Exodus Files

David Fuentes fuentesdt at gmail.com
Thu May 7 10:58:20 EDT 2009


Gentlemen,

Thank you very much!

Merge Block -> Append Attributes

ended up being what I have been searching for.


thanks again,
David



On Thu, 7 May 2009, John Biddiscombe wrote:

>
>       Or first run the merge blocks filter.
> 
> 
> Or just run the merge blocks filter first like the man says.
> 
> [But actually. The merge blocks filter, uses a vtkAppendFilter - which is a memory hog - then you pass the
> output of this into another appendfilter - on large datasets this will be terrible. Much better to add
> multiblock support to the appendfilter so that it only has to do the memnory allocation once.]
> 
> €0.02
> 
> JB
> 
>
>       -Ken
> 
>
>       On 5/7/09 12:55 AM, "John Biddiscombe" <biddisco at cscs.ch> wrote:
>
>             David
>
>             The exodus reader is no doubt exporting multiblock data, so the
>             SafeDownCast will fail. Add an extra test for Multiblock and then use an
>             iterator to loop over blocks and then safedowncast and do what you need
>
>             JB
>             > Hi,
>             >
>             >
>             > Is there a way to make the Append DataSet Filter work with exodus files?
>             > I have several that I want to append to use the calculator on.
>             >
>             >
>             > I tried modifying the source to create a plugin
>             >
>             > VTK/Graphics/vtkAppendFilter.cxx
>             >
>             > but I always seem to be getting a null pointer from the SafeDownCast?
>             >
>             >   vtkInformation *inInfo = inputVector[0]->GetInformationObject(idx);
>             >   vtkDataSet *ds
>             > vtkDataSet::SafeDownCast(inInfo->Get(vtkDataObject::DATA_OBJECT()));
>             >
>             >
>             >
>             >
>             > thank you,
>             > David Fuentes
>             > _______________________________________________
>             > Powered by www.kitware.com
>             >
>             > Visit other Kitware open-source projects at
>             > http://www.kitware.com/opensource/opensource.html
>             >
>             > Please keep messages on-topic and check the ParaView Wiki at:
>             > http://paraview.org/Wiki/ParaView
>             >
>             > Follow this link to subscribe/unsubscribe:
>             > http://www.paraview.org/mailman/listinfo/paraview
> 
>
>             --
>             John Biddiscombe,                            email:biddisco @ cscs.ch
>             http://www.cscs.ch/
>             CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
>             Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82
> 
>
>             _______________________________________________
>             Powered by www.kitware.com
>
>             Visit other Kitware open-source projects at
>             http://www.kitware.com/opensource/opensource.html
>
>             Please keep messages on-topic and check the ParaView Wiki at:
>             http://paraview.org/Wiki/ParaView
>
>             Follow this link to subscribe/unsubscribe:
>             http://www.paraview.org/mailman/listinfo/paraview
> 
> 
> 
>
>          ****      Kenneth Moreland
>           ***      Sandia National Laboratories
>       ***********  
>       *** *** ***  email: kmorel at sandia.gov
>       **  ***  **  phone: (505) 844-8919
>           ***      web:   http://www.cs.unm.edu/~kmorel
> 
> 
>
>  -- 
> John Biddiscombe,                            email:biddisco @ cscs.ch
> http://www.cscs.ch/
> CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
> Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82
> 
>


More information about the ParaView mailing list