Skip to content

Commit

Permalink
Reimplement create_unit_box_uniform_tet_mesh_3d in terms of create_re…
Browse files Browse the repository at this point in the history
…ctangular_uniform_tet_mesh
  • Loading branch information
Andlon committed Jul 5, 2023
1 parent 9ff7463 commit 7076d9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mesh/procedural.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ pub fn create_unit_box_uniform_tet_mesh_3d<T>(cells_per_dim: usize) -> Tet4Mesh<
where
T: Real,
{
let hex_mesh = create_unit_box_uniform_hex_mesh_3d(cells_per_dim);
Tet4Mesh::from(&hex_mesh)
create_rectangular_uniform_tet_mesh(T::one(), 1, 1, 1, cells_per_dim)
}

/// Generates an axis-aligned rectangular uniform mesh given a unit length,
Expand Down

0 comments on commit 7076d9c

Please sign in to comment.