p4est
1.0
|
This 3D example program only writes a VTK file for now. More...
This 3D example program only writes a VTK file for now.
See p4est_step4.c for a real numerical example.
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.