-
Notifications
You must be signed in to change notification settings - Fork 58
t8_time_prism_adapt.cxx
The t8_time_prism_adapt.cxx
benchmark demonstrates adaptive mesh refinement (AMR) in time-prism domains, which are essential in simulations involving time-dependent partial differential equations.
This benchmark serves as a performance and correctness test for the library's AMR features.
Option | Argument | Description |
---|---|---|
-h, --help | Display a short help message. | |
-s, --slevel | INT | Initial refinement level. |
-f, --flevel | INT | Final refinement level. Should be greater than or equal to initial refinement level. |
-a, --adapt | INT (0/1) | Use adaptive refinement (1 = enabled, 0 = disabled). |
-b, --balance | Establish a 2:1 balance in the forest (enforces mesh quality). | |
-c, --cube | INT (0/1) | Use hypercube mesh and visual output (1 = enabled). |
-e, --elements | INT | Type of elements: 5 = tetrahedra, 6 = prisms. |
mpirun -np 2 ./t8_time_prism_adapt -s 1 -f 3 -e 6 -a 1 -c 1
This command runs the benchmark with:
-
Prism elements (
-e 6
) -
Adaptivity enabled (
-a 1
) -
Hypercube mesh with visual output (
-c 1
) - Initial refinement level set to 1 and final refinement level to 3
- Timing and correctness information for AMR operations.
- Visual output files (if
-c 1
is set) for mesh visualization in tools like ParaView.
- Ensure that the element type (-e) matches your simulation setup (5 for tetrahedra, 6 for prisms).
- Use
-h
to view the help message with full option details. - If the program does not start or reports missing libraries, check your t8code build and MPI setup.
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
Prerequisites & Compilation
t8_time_forest_partition
t8_time_fractal
t8_time_new_refine
t8_time_partition
t8_time_prism
t8_time_set_join_by_vertices