|
t8
UNKNOWN
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
|
TODO: Add description. More...
#include <t8.h>#include <t8_geometry/t8_geometry_with_vertices.hxx>#include <t8_geometry/t8_geometry_with_vertices.h>Go to the source code of this file.
Data Structures | |
| struct | t8_geometry_analytic |
Typedefs | |
| typedef void(* | t8_geom_analytic_fn) (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, const size_t num_coords, double *out_coords, const void *tree_data, const void *user_data) |
| Definition of an analytic geometry function. More... | |
| typedef void(* | t8_geom_analytic_jacobian_fn) (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, const size_t num_coords, double *jacobian, const void *tree_data, const void *user_data) |
| Definition for the jacobian of an analytic geometry function. More... | |
| typedef void(* | t8_geom_load_tree_data_fn) (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const void **tree_data) |
Functions | |
| void | t8_geom_load_tree_data_vertices (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const void **vertices_out) |
TODO: Add description.
| typedef void(* t8_geom_analytic_fn) (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, const size_t num_coords, double *out_coords, const void *tree_data, const void *user_data) |
Definition of an analytic geometry function.
This function maps reference coordinates to physical coordinates.
| [in] | cmesh | The cmesh. |
| [in] | gtreeid | The global tree (of the cmesh) in which the reference point is. |
| [in] | ref_coords | Array of dimension x num_coords many entries, specifying a point in \( [0,1]^\mathrm{dim} \). |
| [in] | num_coords | |
| [out] | out_coords | The mapped coordinates in physical space of ref_coords. The length is num_coords * 3. |
| [in] | tree_data | The data of the current tree as loaded by a t8_geom_load_tree_data_fn. |
| [in] | user_data | The user data pointer stored in the geometry. |
| typedef void(* t8_geom_analytic_jacobian_fn) (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, const size_t num_coords, double *jacobian, const void *tree_data, const void *user_data) |
Definition for the jacobian of an analytic geometry function.
| [in] | cmesh | The cmesh. |
| [in] | gtreeid | The global tree (of the cmesh) in which the reference point is. |
| [in] | ref_coords | Array of dimension x num_coords many entries, specifying points in \( [0,1]^\mathrm{dim} \). |
| [in] | num_coords | Amount of points of /f$ \mathrm{dim} /f$ to map. |
| [out] | jacobian | The jacobian at ref_coords. Array of size \( \mathrm{dim} \cdot 3 \) x num_coords. Indices \( 3 \cdot i\) , \( 3 \cdot i+1 \) , \( 3 \cdot i+2 \) correspond to the \( i \)-th column of the jacobian (Entry \( 3 \cdot i + j \) is \( \frac{\partial f_j}{\partial x_i} \)). |
| [in] | tree_data | The data of the current tree as loaded by a t8_geom_load_tree_data_fn. |
| [in] | user_data | The user data pointer stored in the geometry. |