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

TODO: document this file. More...

#include <t8_cmesh.hxx>
#include <t8_cmesh/t8_cmesh_cad.hxx>
#include <t8_geometry/t8_geometry_implementations/t8_geometry_linear.hxx>
#include <t8_geometry/t8_geometry_implementations/t8_geometry_cad.hxx>
#include <gp_Pnt.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeFace.hxx>
#include <BRepPrimAPI_MakePrism.hxx>
#include <BRepAlgoAPI_Fuse.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS.hxx>
#include <gp_Ax2.hxx>
#include <gp_Dir.hxx>
#include <gp_Circ.hxx>
#include <gp_Vec.hxx>
#include <BRep_Tool.hxx>
#include <Geom_Surface.hxx>

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_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. 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_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
[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_cad_geometryLink the cylinder to a cad geometry, 0 or 1.
Returns
A valid cmesh, as if _init and _commit had been called.