| 21 | } |
| 22 | |
| 23 | MeshPtr load_mesh(const std::string& mesh_file) { |
| 24 | MeshFactory factory; |
| 25 | factory.load_file(m_mesh_data_dir + mesh_file); |
| 26 | return factory.create(); |
| 27 | } |
| 28 | |
| 29 | void save_wires(const std::string& wire_file, WireNetwork::Ptr wires) { |
| 30 | WireWriter writer; |