perhaps this is an xdmf issue... in XdmfGeometry.cxx we originally have
the following:

           case XDMF_GEOMETRY_XY :
                   Start[0] = TmpArray->GetNumberOfElements();
                   Start[1] = 3;
                   points->SetShape( 2 , Start );
                   Stride[0] = 1;
                   Stride[0] = 1;
                   Count[0] = TmpArray->GetNumberOfElements();
                   Count[1] = 2;
                   points->SelectHyperSlab( NULL, Stride, Count);
                   CopyArray( TmpArray, points);
                   this->NumberOfPoints =
TmpArray->GetNumberOfElements() / 2 ;
                   break;


interesting 'Stride[0]=1' appears twice... if i replace the above with

           case XDMF_GEOMETRY_XY :
                   Start[0] = TmpArray->GetNumberOfElements()/2;
                   Start[1] = 3;
                   points->SetShape( 2 , Start );
                   Stride[0] = 1;
                   Stride[1] = 1;
                   Count[0] = TmpArray->GetNumberOfElements()/2;
                   Count[1] = 2;
                   points->SelectHyperSlab( NULL, Stride, Count);
                   CopyArray( TmpArray, points);
                   this->NumberOfPoints =
TmpArray->GetNumberOfElements() / 2 ;
                   break;

my xmf is loaded (almost) correctly.  the only issue still remaining is
that the Z geometry data is not zeroed, so it takes somewhat arbitrary
values.

_______________________________________________
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

Reply via email to