| 749 | } |
| 750 | |
| 751 | void |
| 752 | XdmfGridTemplate::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 | |
| 768 | void |
no test coverage detected