diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-04-15 09:42:18 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-05-09 11:06:59 +0200 |
commit | 6b9c2c1e8de8d05a2c386393f0f5cac20157f590 (patch) | |
tree | ba7638dc6757a63c137ba214b5a96428d8900076 | |
parent | d1beabbdbeedab43f2ae372acdab26a2f32d1443 (diff) |
Use exterior domain extent, not physical.
-rw-r--r-- | src/trumpet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trumpet.c b/src/trumpet.c index 0933c04..e21aa9a 100644 --- a/src/trumpet.c +++ b/src/trumpet.c @@ -48,8 +48,8 @@ static CCTK_REAL get_max_r(CCTK_INT dim) GetDomainSpecification(dim, phys_min, phys_max, int_min, int_max, ext_min, ext_max, step); for (int i = 0; i < dim; i++) { - max = MAX(max, abs(phys_min[i])); - max = MAX(max, abs(phys_max[i])); + max = MAX(max, abs(ext_min[i])); + max = MAX(max, abs(ext_max[i])); } return sqrt(dim)*2*max; } |