The source code for these tutorials can be found in the
repo, under the parent directory
Briefly describes Git and the HelloWorld source code. Then discusses how to compile with GNU Make.
Describes how to use CMake to compile the HelloWorld example.
This tutorial introduces the AMReX MultiFab class. It demonstrates how to create a MultiFab, fill it with data and write that data to a plotfile.
A complete build-run-visualize workflow walk-through. This simplified introduction covers several basic components of AMReX while minimizing required knowledge of C++ syntax.
This code expands upon the Heat Equation – Simple tutorial by adding a namespace scope, macros and preprocessor directives to simplify syntax and enable 2 or 3-dimensional simulation from the same code. These additions bring the syntax closer to typical practice.
This tutorial revisits AMReX’s approach to heat equation in additional detail with preprocessor variables, scoped namespaces, and multiple source files to demonstrate additional convenience and functionality.
It’s also possible to work through several tutorials on AMReX that were presented at the 2021 ECP Annual Meeting without needing to install any dependencies or download any code to your local machine. The tutorials are available in the GitHub repo, ECP-Tutorials and use the GitPod cloud dev environment. For accompanying slides, see tutorial_slides.pdf.