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

This 3D example program refines a domain based on given image data. More...

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

Detailed Description

This 3D example program refines a domain based on given image data.

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.