t8  1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
Functions
t8_cmesh_occ.cxx File Reference

TODO: document this file. More...

#include <t8_cmesh/t8_cmesh_occ.hxx>
#include <t8_geometry/t8_geometry_implementations/t8_geometry_linear.h>
#include <t8_geometry/t8_geometry_implementations/t8_geometry_occ.hxx>
#include <t8_cmesh_vtk_writer.h>

Functions

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_occ_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. More...
 

Detailed Description

TODO: document this file.

Function Documentation

◆ t8_cmesh_new_hollow_cylinder()

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_occ_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 occ surface can be linked to the inner and outer faces of the cylinder trees, to use the occ geometry.

Parameters
[in]commThe mpi communicator to use.
[in]num_tangential_treesNumber of trees distributed around the cylinder.
[in]num_axial_treesNumber of trees distributed along the height of the cylinder.
[in]num_radial_treesNumber of trees distributed along the thickness of the cylinder.
[in]with_occ_geometryLink the cylinder to a occ geometry, 0 or 1.
Returns
A valid cmesh, as if _init and _commit had been called.