| 175 | } |
| 176 | |
| 177 | void TetrahedronMesh::init_attributes() { |
| 178 | if (!m_mesh->has_attribute("vertex_normal")) { |
| 179 | throw RuntimeError("\"vertex_normal\" is not computed in mesh"); |
| 180 | } |
| 181 | if (!m_mesh->has_attribute("voxel_volume")) { |
| 182 | throw RuntimeError("\"voxel_volume\" is not computed in mesh"); |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | void TetrahedronMesh::init_boundary_nodes() { |
| 187 | const size_t dim = getDim(); |
nothing calls this directly
no test coverage detected