------------------------------------------------------------------------------
| 240 | |
| 241 | //------------------------------------------------------------------------------ |
| 242 | void vtkOverlappingAMR::SetAMRBlockSourceIndex(unsigned int level, unsigned int id, int sourceId) |
| 243 | { |
| 244 | vtkOverlappingAMRMetaData* oamrMetaData = this->GetOverlappingAMRMetaData(); |
| 245 | if (oamrMetaData) |
| 246 | { |
| 247 | unsigned int index = oamrMetaData->GetAbsoluteBlockIndex(level, id); |
| 248 | oamrMetaData->SetAMRBlockSourceIndex(index, sourceId); |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | //------------------------------------------------------------------------------ |
| 253 | int vtkOverlappingAMR::GetAMRBlockSourceIndex(unsigned int level, unsigned int id) |
no test coverage detected