[Paraview] missing MAXIMUM_NUMBER_OF_PIECES

Berk Geveci berk.geveci at kitware.com
Mon Jun 9 17:06:05 EDT 2014


That was quick :-) I thought it would take a bit longer for people to
notice this change. Here is documentation:

http://www.vtk.org/Wiki/VTK/Parallel_Pipeline

I am going to send out a note and write some sort of blog on this soon.

-berk


On Mon, Jun 9, 2014 at 12:35 PM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:

> Hi Yves,
>
> Here is the part that you might be interested.
>
> Someone else may comment and explain the WHY but at least that give you
> the new way. ;-)
>
> int vtkSphereSource::RequestInformation(
>   vtkInformation *vtkNotUsed(request),
>   vtkInformationVector **vtkNotUsed(inputVector),
>   vtkInformationVector *outputVector)
> {
>   // get the info object
>   vtkInformation *outInfo = outputVector->GetInformationObject(0);
>
>   outInfo->Set(CAN_HANDLE_PIECE_REQUEST(), 1);
>
>   return 1;
> }
>
> You can also look at {VTK-src}/Filters/Parallel/vtkPSphereSource.cxx
> For the request data.
>
> Seb
>
>
>
>
> On Mon, Jun 9, 2014 at 9:52 AM, Yves Rogez <yves.rogez at obs.ujf-grenoble.fr
> > wrote:
>
>> Hello,
>>
>> I'm using the MAXIMUM_NUMBER_OF_PIECES() key to pass information of the
>> maximum number of piececs that my reader can provide. It appears that this
>> key no longer exists ? If it has been removed, why ? Is there any bad
>> behaviors observed using thi method ? Or maybe it has been moved in another
>> class ?
>>
>> Thanks in advance,
>>
>> Yves
>>
>> --
>> Yves Rogez
>> IPAG / CNRS
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140609/849dbb4b/attachment-0001.html>


More information about the ParaView mailing list