p4est  1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p8est_step4.c File Reference

This 3D example program solves the Poisson equation using finite elements. More...

#include <p4est_to_p8est.h>
#include "p4est_step4.c"

Detailed Description

This 3D example program solves the Poisson equation using finite elements.

To avoid redundancy, it shares the source code of the 2D example and changes it to 3D using the preprocessor defines in p4est_to_p8est.h.

It is entirely possible to write a 3D-only program without relying on this mechanism. In this case use the p8est* header files, functions, and data structures.