| 
    t8
    UNKNOWN
    
   t8code is a C library to manage a forest of adaptive                           space-trees of general element classes in parallel. 
   | 
 
Typedef for the t8_geometry class in order to be usable as a pointer from .c files. More...
Go to the source code of this file.
Typedefs | |
| typedef enum t8_geometry_type | t8_geometry_type_t | 
| This enumeration contains all possible geometries.  | |
| typedef struct t8_geometry | t8_geometry_c | 
| This typedef holds virtual functions for a particular geometry.  More... | |
| typedef struct t8_geometry_handler | t8_geometry_handler_c | 
| This typedef holds virtual functions for the geometry handler.  More... | |
Enumerations | |
| enum | t8_geometry_type {  T8_GEOMETRY_TYPE_ZERO = 0 , T8_GEOMETRY_TYPE_LINEAR , T8_GEOMETRY_TYPE_LINEAR_AXIS_ALIGNED , T8_GEOMETRY_TYPE_LAGRANGE , T8_GEOMETRY_TYPE_ANALYTIC , T8_GEOMETRY_TYPE_CAD , T8_GEOMETRY_TYPE_COUNT , T8_GEOMETRY_TYPE_UNDEFINED }  | 
| This enumeration contains all possible geometries.  More... | |
Functions | |
| void | t8_geometry_evaluate (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, const size_t num_coords, double *out_coords) | 
| Evaluates the geometry of a tree at a given reference point.  More... | |
| void | t8_geometry_jacobian (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, const size_t num_coords, double *jacobian) | 
| Evaluates the jacobian of a tree at a given reference point.  More... | |
| t8_geometry_type_t | t8_geometry_get_type (t8_cmesh_t cmesh, t8_gloidx_t gtreeid) | 
| This function returns the geometry type of a tree.  More... | |
| int | t8_geometry_tree_negative_volume (const t8_cmesh_t cmesh, const t8_gloidx_t gtreeid) | 
| Check if a tree has a negative volume.  More... | |
Typedef for the t8_geometry class in order to be usable as a pointer from .c files.
| typedef struct t8_geometry t8_geometry_c | 
This typedef holds virtual functions for a particular geometry.
We need it so that we can use t8_geometry_c pointers in .c files without them seeing the actual C++ code (and then not compiling)
| typedef struct t8_geometry_handler t8_geometry_handler_c | 
This typedef holds virtual functions for the geometry handler.
We need it so that we can use t8_geometry_handler_c pointers in .c files without them seeing the actual C++ code (and then not compiling) TODO: Delete this when the cmesh is a proper cpp class.
| enum t8_geometry_type | 
This enumeration contains all possible geometries.
| void t8_geometry_evaluate | ( | t8_cmesh_t | cmesh, | 
| t8_gloidx_t | gtreeid, | ||
| const double * | ref_coords, | ||
| const size_t | num_coords, | ||
| double * | out_coords | ||
| ) | 
Evaluates the geometry of a tree at a given reference point.
| [in] | cmesh | The cmesh | 
| [in] | gtreeid | The global id of the tree | 
| [in] | ref_coords | The reference coordinates at which to evaluate the geometry | 
| [in] | num_coords | The number of reference coordinates | 
| [out] | out_coords | The evaluated coordinates | 
| t8_geometry_type_t t8_geometry_get_type | ( | t8_cmesh_t | cmesh, | 
| t8_gloidx_t | gtreeid | ||
| ) | 
This function returns the geometry type of a tree.
| [in] | cmesh | The cmesh | 
| [in] | gtreeid | The global id of the tree | 
| void t8_geometry_jacobian | ( | t8_cmesh_t | cmesh, | 
| t8_gloidx_t | gtreeid, | ||
| const double * | ref_coords, | ||
| const size_t | num_coords, | ||
| double * | jacobian | ||
| ) | 
Evaluates the jacobian of a tree at a given reference point.
| [in] | cmesh | The cmesh | 
| [in] | gtreeid | The global id of the tree | 
| [in] | ref_coords | The reference coordinates at which to evaluate the jacobian | 
| [in] | num_coords | The number of reference coordinates | 
| [out] | jacobian | The jacobian at the reference coordinates | 
| int t8_geometry_tree_negative_volume | ( | const t8_cmesh_t | cmesh, | 
| const t8_gloidx_t | gtreeid | ||
| ) | 
Check if a tree has a negative volume.
| [in] | cmesh | The cmesh to check | 
| [in] | gtreeid | The global id of the tree |