| 148 | } |
| 149 | |
| 150 | void InflatorEngine::with_abs_geometry_correction(const VectorF& correction) { |
| 151 | if (correction.size() != m_wire_network->get_dim()) { |
| 152 | std::stringstream err_msg; |
| 153 | err_msg << "Absolute geometry offset dimension mismatch. Expect " |
| 154 | << m_wire_network->get_dim() << " but get " |
| 155 | << correction.size() << " instead."; |
| 156 | throw RuntimeError(err_msg.str()); |
| 157 | } |
| 158 | m_abs_correction = correction; |
| 159 | } |
| 160 | |
| 161 | void InflatorEngine::clean_up() { |
| 162 | remove_isolated_vertices(); |
no test coverage detected