Function t8_cmesh_new_hollow_cylinder
Defined in File t8_cmesh_cad.hxx
Function Documentation
-
t8_cmesh_t t8_cmesh_new_hollow_cylinder(sc_MPI_Comm comm, int num_tangential_trees, int num_axial_trees, int num_radial_trees, int with_cad_geometry)
Construct a hollow cylinder out of hexes with an inner diameter of 0.5, an outer diameter of 1 and a height of 1.
The number of cells used in each direction can be specified. A cylindrical cad surface can be linked to the inner and outer faces of the cylinder trees, to use the cad geometry.
- Parameters:
comm – [in] The mpi communicator to use.
num_tangential_trees – [in] Number of trees distributed around the cylinder.
num_axial_trees – [in] Number of trees distributed along the height of the cylinder.
num_radial_trees – [in] Number of trees distributed along the thickness of the cylinder.
with_cad_geometry – [in] Link the cylinder to a cad geometry, 0 or 1.
- Returns:
A valid cmesh, as if _init and _commit had been called.