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

Method GetAbsoluteBlockIndex

Common/DataModel/vtkAMRDataObject.cxx:239–247  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

237
238//------------------------------------------------------------------------------
239int vtkAMRDataObject::GetAbsoluteBlockIndex(unsigned int level, unsigned int index) const
240{
241 if (!this->AMRMetaData || level >= this->GetNumberOfLevels() ||
242 index >= this->GetNumberOfBlocks(level))
243 {
244 return -1;
245 }
246 return this->AMRMetaData->GetAbsoluteBlockIndex(level, index);
247}
248//------------------------------------------------------------------------------
249void vtkAMRDataObject::PrintSelf(ostream& os, vtkIndent indent)
250{

Callers

nothing calls this directly

Calls 2

GetNumberOfLevelsMethod · 0.95
GetNumberOfBlocksMethod · 0.95

Tested by

no test coverage detected