p4est  1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
The p4est parallel adaptive mesh refinement library
Carsten Burstedde, Lucas C. Wilcox, Tobin Isaac et.al.

p4est is a software library for parallel adaptive mesh refinement (AMR). It represents the mesh as one or more conforming hexahedra that can be individually refined as adaptive octrees, yielding a distributed non-conforming mesh. Both 2D and 3D are supported. p4est is intended to be compiled and linked against by numerical simulation codes that require efficient in-core, static or dynamic load balancing and (re-)adaptation of the computational mesh.

The p4est provides data structures and routines for all of the following:

More guidance on the usage of p4est can be found in p4est-howto.pdf, which is distributed with the source under the doc/ directory.

To build the p4est library from a tar distribution, use the standard procedure of the GNU autotools. The configure script takes the following options:

A typical development configure line looks as follows:

relative/path/to/configure CFLAGS="-Wall -O0 -g" --enable-mpi --enable-debug

A typical production configure line looks as follows:

relative/path/to/configure CFLAGS="-Wall -O2" --enable-mpi

See Also