-
Notifications
You must be signed in to change notification settings - Fork 52
Tutorial Overview
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
.
You will find the code for these tutorials in the tutorials/
folder of t8code
.
The tutorials are build together with t8code when you invoke make
.
In order to build them when using CMake, make sure that you set -DT8CODE_BUILD_TUTORIALS=ON
, which is set by default.
-
Step 0 Hello World - Setting up an application and using
t8code
's logging function. -
Step 1 Creating a coarse mesh - Building a simple coarse mesh.
-
Step 2 Creating a uniform forest - Constructing a uniform forest on top of a coarse mesh.
-
Step 3 Adapting a forest - How to refine and coarsen a forest.
-
Step 4 Partition,-Balance,-Ghost - Modifying the forest further by partitioning, balancing and computing ghost elements.
-
Step 5 Store element data - How to gather data of the local elements, exchange it and output it to a
.vtu
file. -
Step 6 Computing stencils - How to gather data from element's face neighbors and collect stencils in, e.g., finite difference computations.
-
Step 7 Interpolation - How to interpolate data on an adapted forest.
-
Build cmesh - A tutorial of how to create a cmesh in 2D and in 3D.
-
Search algorithm - A tutorial for the hierarchical search to identify elements matching a user defined criterion.
- Feature Curved meshes - A tutorial about the generation of curved adaptive meshes.
Installation Guide
Configure Options
Setup t8code on JUWELS and other Slurm based systems
Setup t8code for VTK
General
Step 0 Hello World
Step 1 Creating a coarse mesh
Step 2 Creating a uniform forest
Step 3 Adapting a forest
Step 4 Partition,-Balance,-Ghost
Step 5 Store element data
Step 6 Computing stencils
Step 7 Interpolation
Features
Documentation
Tree Indexing
Element Indexing
Running on JUWELS using Slurm
Overview of the most used API functions
Known issues
Workflow - FreeCAD to t8code
Reproducing Scaling Resluts
Coding Guidelines
Tips
Debugging with gdb
Debugging with valgrind
Test driven development
Testing with GoogleTest
Writing C interface code