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

Method SetAMRBox

Common/DataModel/vtkOverlappingAMRMetaData.cxx:359–364  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

357
358//------------------------------------------------------------------------------
359void vtkOverlappingAMRMetaData::SetAMRBox(unsigned int level, unsigned int id, const vtkAMRBox& box)
360{
361 unsigned int index = this->GetAbsoluteBlockIndex(level, id);
362 this->Boxes[index] = box;
363 this->UpdateBounds(level, id);
364}
365
366//------------------------------------------------------------------------------
367int vtkOverlappingAMRMetaData::GetAMRBlockSourceIndex(int index)

Callers

nothing calls this directly

Calls 2

UpdateBoundsMethod · 0.95
GetAbsoluteBlockIndexMethod · 0.45

Tested by

no test coverage detected