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

Method GetAMRBox

Common/DataModel/vtkOverlappingAMRMetaData.cxx:692–701  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

690
691//------------------------------------------------------------------------------
692bool vtkOverlappingAMRMetaData::GetAMRBox(unsigned int level, unsigned int id, vtkAMRBox& box) const
693{
694 int idx = this->GetAbsoluteBlockIndex(level, id);
695 if (idx < 0)
696 {
697 return false;
698 }
699 box = this->Boxes[idx];
700 return true;
701}
702
703//------------------------------------------------------------------------------
704void vtkOverlappingAMRMetaData::GetSpacing(unsigned int level, double spacing[3])

Callers 15

PrintSelfMethod · 0.95
FindCellMethod · 0.95
GetCoarsenedAMRBoxMethod · 0.95
UpdateBoundsMethod · 0.95
WriteCompositeMethod · 0.80
DistributeAMRBoxesFunction · 0.80
GetAMRGridMethod · 0.80
ReadLevelDataMethod · 0.80
WriteCompositeDataMethod · 0.80

Calls 1

GetAbsoluteBlockIndexMethod · 0.45

Tested by

no test coverage detected