CartGrid3D symmetries don't work with Carpet-hg

Create issue
Issue #448 closed
Erik Schnetter created an issue

The symmetries implemented in CartGrid3D (bitant, quadrant, and octant mode) do not work with Carpet-HG. They register a symmetry width equal to the number of ghost zones, but do so at a time when the number of ghost zones is not defined. They should instead query CoordBase for the number of boundary points. However, this may break many old parameter files that e.g. use PUGH.

Another alternative would be to always use ReflectionSymmetry with Carpet-HG instead of CartGrid3D's symmetries.

This affects currently e.g. the test case EinsteinAnalysis/AHFinderDirect/test/Kerr-Cartoon.


Comments (6)

  1. Ian Hinder
    • removed comment

    The attached patch implements the second suggestion (deprecating these symmetries) by modifying the error message that occurs when Carpet-HG is used with symmetry thorns which don't register symmetries in the correct place.

  2. Log in to comment