MCPcopy Create free account
hub / github.com/Kitware/VTK / RequestUpdateExtent

Method RequestUpdateExtent

IO/ParallelXML/vtkXMLWriter2.cxx:69–82  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

67
68//----------------------------------------------------------------------------
69int vtkXMLWriter2::RequestUpdateExtent(
70 vtkInformation*, vtkInformationVector** inputVector, vtkInformationVector*)
71{
72 using SDDP = vtkStreamingDemandDrivenPipeline;
73
74 // setup pipeline request
75 vtkInformation* inInfo = inputVector[0]->GetInformationObject(0);
76 inInfo->Set(SDDP::UPDATE_NUMBER_OF_GHOST_LEVELS(), this->NumberOfGhostLevels);
77 inInfo->Set(SDDP::UPDATE_NUMBER_OF_PIECES(),
78 this->Controller ? this->Controller->GetNumberOfProcesses() : 1);
79 inInfo->Set(
80 SDDP::UPDATE_PIECE_NUMBER(), this->Controller ? this->Controller->GetLocalProcessId() : 0);
81 return 1;
82}
83
84//----------------------------------------------------------------------------
85std::tuple<std::string, std::string, std::string> vtkXMLWriter2::SplitFileName(

Callers 1

ProcessRequestMethod · 0.95

Calls 4

GetInformationObjectMethod · 0.80
GetNumberOfProcessesMethod · 0.80
SetMethod · 0.45
GetLocalProcessIdMethod · 0.45

Tested by

no test coverage detected