The ADRSolverRedesign solves the same linear advection-diffusion-reaction problems as the ADRSolver of the previous chapter – the governing equations are unchanged – on the redesigned operator framework, in which every step of the discretisation (basis transforms, volume and trace fluxes, boundary conditions, the linear solve) is an operator with interchangeable implementations for each execution space. The same session file therefore runs
in Serial on a single core,
in AVX using SIMD vectorisation (AVX2/AVX512 on x86, NEON on Arm), and
on a Device (CUDA, HIP or SYCL GPU back-ends),
and in parallel under MPI, where the discontinuous Galerkin trace exchange overlaps interior work with communication.
The solver currently provides:
the unsteady advection, diffusion and advection-diffusion problems and the steady advection-diffusion-reaction, Helmholtz and Poisson problems of Table 8.1, in 1D, 2D and 3D on every element shape;
both a continuous (Continuous) and a discontinuous (DisContinuous) Galerkin
projection;
for DG, weak-DG advection with an upwind trace flux and interior-penalty diffusion, integrated explicitly;
for CG, non-conservative advection and an implicit treatment of diffusion through the iterative linear solvers of the framework;
an anisotropic diffusion tensor and a reaction coefficient;
time-dependent Dirichlet boundary conditions, and restart from checkpoint (.fld)
files.
Features of the legacy solver not yet available here include LDG diffusion, implicit or IMEX
time integration of a DG discretisation, the Burgers and moving-frame (MMF) systems, and the
Projection system.