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

Method InsertAMRBlock

IO/AMR/vtkAMRDataSetCache.cxx:38–48  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

36
37//------------------------------------------------------------------------------
38void vtkAMRDataSetCache::InsertAMRBlock(int compositeIdx, vtkUniformGrid* amrGrid)
39{
40 assert("pre: AMR block is nullptr" && (amrGrid != nullptr));
41
42 vtkTimerLog::MarkStartEvent("AMRCache::InsertBlock");
43 if (!this->HasAMRBlock(compositeIdx))
44 {
45 this->Cache[compositeIdx] = amrGrid;
46 }
47 vtkTimerLog::MarkEndEvent("AMRCache::InsertBlock");
48}
49
50//------------------------------------------------------------------------------
51void vtkAMRDataSetCache::InsertAMRBlockPointData(int compositeIdx, vtkDataArray* dataArray)

Callers 1

GetAMRBlockMethod · 0.80

Calls 2

HasAMRBlockMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected