| 72 | } |
| 73 | |
| 74 | void PeriodicInflator::generate_phantom_mesh() { |
| 75 | PhantomMeshGenerator generator( |
| 76 | m_wire_network, m_parameter_manager, m_profile); |
| 77 | if (m_with_shape_velocities) |
| 78 | generator.with_shape_velocities(); |
| 79 | generator.with_rel_geometry_correction(m_rel_correction); |
| 80 | generator.with_abs_geometry_correction(m_abs_correction); |
| 81 | generator.set_geometry_correction_cap(m_correction_cap); |
| 82 | generator.generate(); |
| 83 | m_phantom_vertices = generator.get_vertices(); |
| 84 | m_phantom_faces = generator.get_faces(); |
| 85 | m_phantom_face_sources = generator.get_face_sources(); |
| 86 | if (m_with_shape_velocities) |
| 87 | m_shape_velocities = generator.get_shape_velocities(); |
| 88 | } |
| 89 | |
| 90 | void PeriodicInflator::initialize_AABB_tree() { |
| 91 | const size_t dim = m_parameter_manager->get_wire_network()->get_dim(); |
nothing calls this directly
no test coverage detected