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

Method SetNumberOfPartitions

Common/DataModel/vtkPartitionedDataSetCollection.cxx:129–139  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

127
128//------------------------------------------------------------------------------
129void vtkPartitionedDataSetCollection::SetNumberOfPartitions(
130 unsigned int idx, unsigned int numPartitions)
131{
132 if (this->GetNumberOfPartitionedDataSets() <= idx)
133 {
134 this->SetNumberOfPartitionedDataSets(idx + 1);
135 }
136 auto ptd = this->GetPartitionedDataSet(idx);
137 assert(ptd != nullptr);
138 ptd->SetNumberOfPartitions(numPartitions);
139}
140
141//------------------------------------------------------------------------------
142vtkMTimeType vtkPartitionedDataSetCollection::GetMTime()

Callers

nothing calls this directly

Calls 4

GetPartitionedDataSetMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected