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

Method removeUnstructuredGrid

ThirdParty/xdmf3/vtkxdmf3/XdmfGridTemplate.cpp:751–765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751void
752XdmfGridTemplate::removeUnstructuredGrid(const unsigned int index)
753{
754 if (mBase) {
755 if (index < getNumberSteps()) {
756 if (shared_ptr<XdmfUnstructuredGrid> grid =
757 shared_dynamic_cast<XdmfUnstructuredGrid>(mBase)) {
758 this->removeStep(index);
759 }
760 }
761 }
762 else {
763 XdmfError::message(XdmfError::FATAL, "Error: Attempting to get UnstructuredGrid from template without a base");
764 }
765}
766
767
768void

Callers 5

copyGridMethod · 0.80
readMethod · 0.80
releaseMethod · 0.80

Calls 1

removeStepMethod · 0.95

Tested by

no test coverage detected