Allow pseudo-2D domains in CarpetRegrid2

Issue #1243 closed
Frank Löffler created an issue

Currently CarpetRegrid2 contains two asserts that fail for domains that are effectively 2D (but defines as 3D arrays, e.g. (nx,ny,1). The attached patch makes sure these domains don't trigger the assert by checking for ilower==iupper. I also attached a parfile intended as testsuite for this case.

Keyword:

Comments (4)

  1. Log in to comment