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

Method IsInCache

Common/ExecutionModel/vtkMultiTimeStepAlgorithm.cxx:31–42  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

29
30//------------------------------------------------------------------------------
31bool vtkMultiTimeStepAlgorithm::IsInCache(double time, size_t& idx)
32{
33 std::vector<TimeCache>::iterator it = this->Cache.begin();
34 for (idx = 0; it != this->Cache.end(); ++it, ++idx)
35 {
36 if (time == it->TimeValue)
37 {
38 return true;
39 }
40 }
41 return false;
42}
43
44//------------------------------------------------------------------------------
45vtkTypeBool vtkMultiTimeStepAlgorithm::ProcessRequest(

Callers 1

ProcessRequestMethod · 0.95

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected