From: Anthony Geay Date: Mon, 6 Oct 2014 07:00:02 +0000 (+0200) Subject: Ready for 4.2 X-Git-Tag: V7_5_0a1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d3d06c9e2e7ebb9f4437e8c64bd5b0aab70cbc25;p=modules%2Fparavis.git Ready for 4.2 --- diff --git a/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx b/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx index 807b4f64..8dc11142 100644 --- a/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx +++ b/src/Plugins/ParaMEDCorba/vtkParaMEDCorbaSource.cxx @@ -178,6 +178,7 @@ int vtkParaMEDCorbaSource::RequestInformation(vtkInformation* request, vtkInform delete iorTab; CORBA::release(objPara); } + //myInfo->Set(CAN_HANDLE_PIECE_REQUEST(), 1); myInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(),this->TotalNumberOfPieces); } return 1; @@ -188,11 +189,10 @@ int vtkParaMEDCorbaSource::RequestData(vtkInformation* request, vtkInformationVe vtkInformation *outInfo=outputVector->GetInformationObject(0); // this->UpdatePiece = vtkStreamingDemandDrivenPipeline::GetUpdatePiece(outInfo); - this->NumberOfPieces = outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES()); + this->NumberOfPieces = vtkStreamingDemandDrivenPipeline::GetUpdateNumberOfPieces(outInfo); this->GhostLevel = vtkStreamingDemandDrivenPipeline::GetUpdateGhostLevel(outInfo); this->StartPiece=((this->UpdatePiece*this->TotalNumberOfPieces)/this->NumberOfPieces); this->EndPiece=(((this->UpdatePiece+1)*this->TotalNumberOfPieces)/this->NumberOfPieces); - std::cerr << " ### " << this->UpdatePiece << " 22-" << this->NumberOfPieces << " 33-" << this->StartPiece << "44-" << this->EndPiece << std::endl; vtkMultiBlockDataSet *ret0=vtkMultiBlockDataSet::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT())); double reqTS = 0; if(outInfo->Has(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEP()))