Peano
Loading...
Searching...
No Matches
amr Namespace Reference

-study More...

Detailed Description

-study

AMR check of the point source benchmark

Generates, builds and runs the point source benchmark (Point source (Euler equations)) without AMR (levels 0) and with AMR (levels 1 by default), and checks that

  • the dynamic AMR works: the mesh has coarsened, i.e. it has fewer cells than the regular start grid at the end of the run, and
  • the AMR does not harm the quality: the final density and energy differ from the solution on the regular grid by at most –tolerance times the range of the latter.

Prints a table of the mesh over time, the differences and PASSED or FAILED, and exits non-zero on FAILED. Finished runs in the work directory are reused.