41#ifndef P4EST_GEOMETRY_H
42#define P4EST_GEOMETRY_H
83void p4est_geometry_transform_coordinates
162 double R2,
double R1);
175 double R0,
double R1);
276void p4est_geometry_coordinates_lnodes
279 sc_array_t * coordinates, sc_array_t * element_coordinates);
int32_t p4est_qcoord_t
Typedef for quadrant coordinates.
Definition p4est_base.h:81
int32_t p4est_topidx_t
Typedef for counting topological entities (trees, tree vertices).
Definition p4est_base.h:93
p4est_geometry_t * p4est_geometry_new_shell2d(p4est_connectivity_t *conn, double R2, double R1)
Create a geometry for mapping the annulus.
p4est_geometry_t * p4est_geometry_new_sphere2d(p4est_connectivity_t *conn, double R)
Create sphere geometry associated to cubed connectivity.
p4est_geometry_t * p4est_geometry_new_disk2d(p4est_connectivity_t *conn, double R0, double R1)
Create disk2d geometry associated to disk2d connectivity.
pillow_disk_config_t
Characterize different mappings of the disk using a 1-tree connectivity.
Definition p4est_geometry.h:208
void(* p4est_geometry_X_t)(p4est_geometry_t *geom, p4est_topidx_t which_tree, const double abc[3], double xyz[3])
Forward transformation from the tree-local coordinates to physical space.
Definition p4est_geometry.h:64
p4est_geometry_t * p4est_geometry_new_icosahedron(p4est_connectivity_t *conn, double R)
Create a geometry for mapping the sphere using 2d connectivity icosahedron.
p4est_geometry_t * p4est_geometry_new_pillow_disk(p4est_connectivity_t *conn, double R, pillow_disk_config_t config)
Create a geometry for mapping the disk using 2d connectivity unit.
p4est_geometry_t * p4est_geometry_new_pillow(p4est_connectivity_t *conn, double R)
Create a geometry for mapping the sphere using 2d connectivity pillow.
void(* p4est_geometry_destroy_t)(p4est_geometry_t *geom)
Destructor prototype for a user-allocated geometry.
Definition p4est_geometry.h:73
Generate Lobatto node numbers for any degree.
This structure holds the 2D inter-tree connectivity information.
Definition p4est_connectivity.h:190
Encapsulates a custom transformation from tree-local coordinates to user defined physical space.
Definition p4est_geometry.h:99
p4est_geometry_destroy_t destroy
Destructor called by p4est_geometry_destroy.
Definition p4est_geometry.h:103
p4est_geometry_X_t X
Coordinate transformation.
Definition p4est_geometry.h:102
const char * name
User's choice is arbitrary.
Definition p4est_geometry.h:100
void * user
User's choice is arbitrary.
Definition p4est_geometry.h:101
Store a parallel numbering of Lobatto points of a given degree > 0.
Definition p4est_lnodes.h:145
The p4est forest datatype.
Definition p4est.h:150