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

Method InsertGridAtLevel

Filters/Geometry/vtkStructuredAMRGridConnectivity.h:708–720  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

706
707//------------------------------------------------------------------------------
708inline void vtkStructuredAMRGridConnectivity::InsertGridAtLevel(int level, int gridID)
709{
710 if (this->LevelExists(level))
711 {
712 this->AMRHierarchy[level].insert(gridID);
713 }
714 else
715 {
716 std::set<int> grids;
717 grids.insert(gridID);
718 this->AMRHierarchy[level] = grids;
719 }
720}
721
722VTK_ABI_NAMESPACE_END
723#endif /* VTKSTRUCTUREDAMRGRIDCONNECTIVITY_H_ */

Callers 1

RegisterGridMethod · 0.95

Calls 2

LevelExistsMethod · 0.95
insertMethod · 0.45

Tested by

no test coverage detected