t8  UNKNOWN
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
Data Structures | Typedefs | Functions
t8_geometry_analytic.hxx File Reference

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)
 

Detailed Description

TODO: Add description.

Typedef Documentation

◆ t8_geom_analytic_fn

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.

Parameters
[in]cmeshThe cmesh.
[in]gtreeidThe global tree (of the cmesh) in which the reference point is.
[in]ref_coordsArray of dimension x num_coords many entries, specifying a point in \( [0,1]^\mathrm{dim} \).
[in]num_coords
[out]out_coordsThe mapped coordinates in physical space of ref_coords. The length is num_coords * 3.
[in]tree_dataThe data of the current tree as loaded by a t8_geom_load_tree_data_fn.
[in]user_dataThe user data pointer stored in the geometry.

◆ t8_geom_analytic_jacobian_fn

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.

Parameters
[in]cmeshThe cmesh.
[in]gtreeidThe global tree (of the cmesh) in which the reference point is.
[in]ref_coordsArray of dimension x num_coords many entries, specifying points in \( [0,1]^\mathrm{dim} \).
[in]num_coordsAmount of points of /f$ \mathrm{dim} /f$ to map.
[out]jacobianThe 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_dataThe data of the current tree as loaded by a t8_geom_load_tree_data_fn.
[in]user_dataThe user data pointer stored in the geometry.