Tutorials
There are two kinds of tutorials for t8code: The general tutorials, which lead you step by step and show the basic usage of t8code.
Furthermore, there are feature tutorials, which detail on more advanced or additional features of t8code.
For all tutorials we have a corresponding article in the Wiki. The article can be used as a step-by-step guide for each tutorial.
General
step0 - Initialize t8code and print a welcome message.
step1 - Create a coarse mesh, output it to vtu and destroy it.
step2 - Create a uniform forest, get its number of local and global elements, output it to vtu and destroy it.
step3 - Adapt a forest according to a user defined criterion.
step4 - Partitioning, balancing and creating ghost layer for forest. Explains the forest creation process in more detail.
step5 - Associating user data with a forest's elements. Exchanging ghost values for element user data. Writing element user data to vtu.
step6 - Gather data from element's face neighbors and collect stencils in, e.g., finite difference computations.
Search - A tutorial for the hierarchical search to identify elements matching a user defined criterion.
Cmesh Creating a user defined mesh in two- and three dimensions.
Features
Curved meshes - A tutorial about the generation of curved adaptive meshes.
To be implemented in the future
step7 - Changing a mesh with element data on it: Partitioning element data and interpolating data after adaptation.