summaryrefslogtreecommitdiff
path: root/lib/hier_block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hier_block.cpp')
-rw-r--r--lib/hier_block.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/hier_block.cpp b/lib/hier_block.cpp
index cfaca86..b7ffe4c 100644
--- a/lib/hier_block.cpp
+++ b/lib/hier_block.cpp
@@ -76,18 +76,3 @@ void HierBlock::commit(void)
{
(*this)->topology->commit();
}
-
-void HierBlock::register_subelement(const std::string &node, const Element &subelem)
-{
- if (subelem->_parent) throw std::runtime_error(str(boost::format(
- "Could not register subelement %s into %s.\n"
- "The subelement %s already has parent %s.\n"
- )
- % subelem.to_string()
- % this->to_string()
- % subelem.to_string()
- % subelem->_parent.to_string()
- ));
- subelem->_parent = *this;
- (*this)->_subelems[node] = subelem;
-}