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_geometry_base.h File Reference

This header file provides a C interface to the t8_geometry_c class. More...

#include <t8.h>
#include <t8_geometry/t8_geometry.h>

Go to the source code of this file.

Functions

int t8_geom_get_dimension (const t8_geometry_c *geom)
 Get the dimension of a geometry. More...
 
const char * t8_geom_get_name (const t8_geometry_c *geom)
 Get the name of a geometry. More...
 

Detailed Description

This header file provides a C interface to the t8_geometry_c class.

Use these function if you need to query a t8_geometry_c object from C code. We recommend to use the C++ interface from t8_geometry_base.hxx if possible.

Function Documentation

◆ t8_geom_get_dimension()

int t8_geom_get_dimension ( const t8_geometry_c geom)

Get the dimension of a geometry.

Parameters
[in]geomA geometry.
Returns
The dimension of geom.

◆ t8_geom_get_name()

const char* t8_geom_get_name ( const t8_geometry_c geom)

Get the name of a geometry.

Parameters
[in]geomA geometry.
Returns
The name of geom.