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

Method LoadCellData

IO/AMR/vtkAMRBaseReader.cxx:444–456  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

442
443//------------------------------------------------------------------------------
444void vtkAMRBaseReader::LoadCellData(int blockIdx, vtkUniformGrid* block)
445{
446 // Sanity check!
447 assert("pre: AMR block should not be nullptr" && (block != nullptr));
448
449 for (int i = 0; i < this->GetNumberOfCellArrays(); ++i)
450 {
451 if (this->GetCellArrayStatus(this->GetCellArrayName(i)))
452 {
453 this->GetAMRData(blockIdx, block, this->GetCellArrayName(i));
454 }
455 } // END for all cell arrays
456}
457
458//------------------------------------------------------------------------------
459void vtkAMRBaseReader::LoadRequestedBlocks(vtkOverlappingAMR* output)

Callers 2

LoadRequestedBlocksMethod · 0.95
AssignAndLoadBlocksMethod · 0.95

Calls 5

GetNumberOfCellArraysMethod · 0.95
GetCellArrayStatusMethod · 0.95
GetCellArrayNameMethod · 0.95
GetAMRDataMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected