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

Method removeGridCollection

ThirdParty/xdmf3/vtkxdmf3/XdmfGridTemplate.cpp:222–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222void
223XdmfGridTemplate::removeGridCollection(const unsigned int index)
224{
225 if (mBase) {
226 if (index < getNumberSteps()) {
227 if (shared_ptr<XdmfGridCollection> grid =
228 shared_dynamic_cast<XdmfGridCollection>(mBase)) {
229 this->removeStep(index);
230 }
231 }
232 }
233 else {
234 XdmfError::message(XdmfError::FATAL, "Error: Attempting to get GridCollection from template without a base");
235 }
236}
237
238void
239XdmfGridTemplate::removeGridCollection(const std::string & /*Name*/)

Callers 5

copyGridMethod · 0.80
readMethod · 0.80
releaseMethod · 0.80

Calls 1

removeStepMethod · 0.95

Tested by

no test coverage detected