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

Method UpdateTimeStep

Common/ExecutionModel/vtkAlgorithm.cxx:1717–1735  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1715
1716//------------------------------------------------------------------------------
1717int vtkAlgorithm::UpdateTimeStep(
1718 double time, int piece, int numPieces, int ghostLevels, const int extents[6])
1719{
1720 typedef vtkStreamingDemandDrivenPipeline vtkSDDP;
1721
1722 vtkNew<vtkInformation> reqs;
1723 reqs->Set(vtkSDDP::UPDATE_TIME_STEP(), time);
1724 if (piece >= 0)
1725 {
1726 reqs->Set(vtkSDDP::UPDATE_PIECE_NUMBER(), piece);
1727 reqs->Set(vtkSDDP::UPDATE_NUMBER_OF_PIECES(), numPieces);
1728 reqs->Set(vtkSDDP::UPDATE_NUMBER_OF_GHOST_LEVELS(), ghostLevels);
1729 }
1730 if (extents)
1731 {
1732 reqs->Set(vtkSDDP::UPDATE_EXTENT(), extents, 6);
1733 }
1734 return this->Update(reqs);
1735}
1736
1737//------------------------------------------------------------------------------
1738void vtkAlgorithm::PropagateUpdateExtent()

Callers 15

RenderMethod · 0.80
TestFunction · 0.80
TestEmptyFileFunction · 0.80
TestExampleFileFunction · 0.80
TestFDSReader2Function · 0.80
RunTestFunction · 0.80
testChangeTimeStepMethod · 0.80
TestVASPAnimationReaderFunction · 0.80
TestNetCDFUGRIDReaderFunction · 0.80

Calls 2

UpdateMethod · 0.95
SetMethod · 0.45

Tested by 15

RenderMethod · 0.64
TestFunction · 0.64
TestEmptyFileFunction · 0.64
TestExampleFileFunction · 0.64
TestFDSReader2Function · 0.64
TestVASPAnimationReaderFunction · 0.64
TestNetCDFUGRIDReaderFunction · 0.64
TestIOSSExodusRestartsFunction · 0.64