We present an application framework applying spacetree-based adaptive mesh re-
finement (AMR) to solvers for hyperbolic partial differential equations (PDEs) specified on logically
quadrilateral grids. The AMR framework decomposes the adaptive grid into regular quadrilateral
subgrids shaping an adaptive global grid, traverses these subgrids autonomously, calls PDE-specific
routines on each subgrid, and preserves the data consistency between the subgrids. Each subgrid is
autonomously allowed to advance in time based on the local CFL condition, yielding a speedup in
several cases compared to global time stepping. The AMR memory footprint is small due to the use
of nonoverlapping grids. Subroutines written for regular Cartesian grids are used on adaptive meshes
without modification. Furthermore, the framework provides a very simple programming interface to
specify dynamic refinement criteria. We thus lower the implementation threshold for domain spe-
cialists who want to extend existing code with AMR features without introducing complexity into
their own applications. Our framework is a merger of the spacetree mesh management and traversal
code Peano and Clawpack’s PyClaw, an explicit finite volume solver for general PDEs.
«
We present an application framework applying spacetree-based adaptive mesh re-
finement (AMR) to solvers for hyperbolic partial differential equations (PDEs) specified on logically
quadrilateral grids. The AMR framework decomposes the adaptive grid into regular quadrilateral
subgrids shaping an adaptive global grid, traverses these subgrids autonomously, calls PDE-specific
routines on each subgrid, and preserves the data consistency between the subgrids. Each subgrid is
autonomously allowed...
»