t8  1.2.0
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_base.hxx>

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, double out_coords[3], 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, 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, double out_coords[3], 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 many entries, specifying a point in [0,1]^dimension.
[out]out_coordsThe mapped coordinates in physical space of ref_coords.
[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, 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 many entries, specifying a point in [0,1]^dimension.
[out]jacobianThe jacobian at ref_coords. Array of size dimension x 3. Indices 3*i, 3*i+1, 3*i+2 correspond to the i-th column of the jacobian (Entry 3*i + j is del f_j/del 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.