[Paraview] comparison of two dataset (same mesh ) but not in the same order

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue May 29 07:53:40 EDT 2012


I don't think such a filter exists in ParaView. You'll have to write a
custom filter or a Python programmable filter to convert one of the
datasets to the same point/cell order as the other.

Utkarsh
On Tue, May 29, 2012 at 5:15 AM, Felipe Bordeu
<felipe.bordeu at ec-nantes.fr> wrote:
> Hi,
>
> One of my student is validating his code, and we want to compare the results
> (point data, cell data).
> We have two result: one from a commercial code, and the other from our code.
>
> The dicretisation are the same: same number of node, same number of element.
> But the order of the node and element in the files are not the same, so we
> cant use append attributes.
>
> For for the point data we use re-sample with dataset. But the problem is
> than the celldata is automatically converted to point data (I know there is
> no definition of  re-sample with dataset with cells in the source).
>
> So my question is "Is there an easy way of sorting the point and cells so
> they have the same order for the two datasets so I can use append
> attributes?"
>
> A sort of "clean to grid" that also apply a unique order to the point and
> cells.
>
> Thanks,
>
> --
>
> Felipe Bordeu Weldt
> Ingénieur de Recherche
> -------------------------------------
> Tél. : 33 (0)2 40 37 16 57
> Fax. : 33 (0)2 40 74 74 06
> Felipe.Bordeu at ec-nantes.fr
> Institut GeM - UMR CNRS 6183
> École Centrale Nantes
> 1 Rue de La Noë, 44321 Nantes, FRANCE
> -------------------------------------
>
> _______________________________________________
> 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


More information about the ParaView mailing list