p4est  1.0
Functions
src/p4est_geometry.c File Reference

We provide the identity transformation for reference. More...

#include <p4est_geometry.h>
Include dependency graph for p4est_geometry.c:

Functions

static void p4est_geometry_identity_X (p4est_geometry_t *geom, p4est_topidx_t which_tree, const double abc[3], double xyz[3])
p4est_geometry_t * p4est_geometry_new_identity (void)
 Create a geometry structure for the identity transformation.

Detailed Description

We provide the identity transformation for reference.

Please implement p4est_geometry_t as you see fit.


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