p4est  1.0
Data Structures | Typedefs | Functions
src/p4est_geometry.h File Reference

tranforms from vertex frame to physical space More...

#include <p4est_base.h>
Include dependency graph for p4est_geometry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  p4est_geometry_t
 This structure can be created by the user, p4est will never change its contents. More...

Typedefs

typedef void(* p4est_geometry_X_t )(p4est_geometry_t *geom, p4est_topidx_t which_tree, const double abc[3], double xyz[3])
 Forward transformation from vertex frame to physical space.

Functions

p4est_geometry_t * p4est_geometry_new_identity (void)
 Create a geometry structure for the identity transformation.

Detailed Description

tranforms from vertex frame to physical space


Typedef Documentation

typedef void(* p4est_geometry_X_t)(p4est_geometry_t *geom, p4est_topidx_t which_tree, const double abc[3], double xyz[3])

Forward transformation from vertex frame to physical space.

The vertex space "abc" is defined per octree and spanned by the vertices at its corners by bilinear interpolation; see p4est_connectivity.h. Note that the two-dimensional connectivities have 3D vertex coordinates that can be used in the transformation if so desired. The physical space "xyz" is user-defined, currently used for VTK output.


Function Documentation

p4est_geometry_t* p4est_geometry_new_identity ( void  )

Create a geometry structure for the identity transformation.

This function is just for demonstration since a NULL geometry works too.

Returns:
Geometry structure which must be freed with P4EST_FREE.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines