aboutsummaryrefslogtreecommitdiff
path: root/ML_BSSN_Test
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2011-06-29 18:28:34 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2011-07-13 18:23:55 +0100
commit24d05ae566dbcec752c851c8431fc3ec92b4dce7 (patch)
tree2fff42c552210570ee9b978912a537f4a82c7153 /ML_BSSN_Test
parent8aaba5388f95c063fcffea6db8630c587ed62614 (diff)
Improve finite differencing in tests
For those tests which use Exact, the extrinsic curvature is computed using finite differencing. With a small timestep, this is very sensitive to roundoff. The timestep can be increased by using fourth order finite differencing, which we do here. In order to form robust regression tests which give consistent results on different machines, we also run with an unphysically large timestep in Exact. This is OK for a regression test, but note that the constraint violations will not converge away with the evolution grid spacing.
Diffstat (limited to 'ML_BSSN_Test')
-rw-r--r--ML_BSSN_Test/test/ML_BSSN_O8_sgw3d.par3
-rw-r--r--ML_BSSN_Test/test/ML_BSSN_sgw3d.par3
-rw-r--r--ML_BSSN_Test/test/ML_BSSN_sgw3d_rhs.par3
3 files changed, 9 insertions, 0 deletions
diff --git a/ML_BSSN_Test/test/ML_BSSN_O8_sgw3d.par b/ML_BSSN_Test/test/ML_BSSN_O8_sgw3d.par
index fac3ea9..b574a6a 100644
--- a/ML_BSSN_Test/test/ML_BSSN_O8_sgw3d.par
+++ b/ML_BSSN_Test/test/ML_BSSN_O8_sgw3d.par
@@ -123,6 +123,9 @@ Exact::rotation_euler_psi = -1.9216757376671543544
Exact::rotation_euler_theta = 0.66214523564555227398
Exact::rotation_euler_phi = 1.2199169159226388841
+Exact::exact_order = 4
+Exact::exact_eps = 1e-2 # This is large to ensure regression tests are insensitive to roundoff
+
#############################################################
# Output
#############################################################
diff --git a/ML_BSSN_Test/test/ML_BSSN_sgw3d.par b/ML_BSSN_Test/test/ML_BSSN_sgw3d.par
index c229cec..e64ab54 100644
--- a/ML_BSSN_Test/test/ML_BSSN_sgw3d.par
+++ b/ML_BSSN_Test/test/ML_BSSN_sgw3d.par
@@ -123,6 +123,9 @@ Exact::rotation_euler_psi = -1.9216757376671543544
Exact::rotation_euler_theta = 0.66214523564555227398
Exact::rotation_euler_phi = 1.2199169159226388841
+Exact::exact_order = 4
+Exact::exact_eps = 1e-2 # This is large to ensure regression tests are insensitive to roundoff
+
#############################################################
# Output
#############################################################
diff --git a/ML_BSSN_Test/test/ML_BSSN_sgw3d_rhs.par b/ML_BSSN_Test/test/ML_BSSN_sgw3d_rhs.par
index 82c2a73..553c77b 100644
--- a/ML_BSSN_Test/test/ML_BSSN_sgw3d_rhs.par
+++ b/ML_BSSN_Test/test/ML_BSSN_sgw3d_rhs.par
@@ -122,6 +122,9 @@ Exact::rotation_euler_psi = -1.9216757376671543544
Exact::rotation_euler_theta = 0.66214523564555227398
Exact::rotation_euler_phi = 1.2199169159226388841
+Exact::exact_order = 4
+Exact::exact_eps = 1e-2 # This is large to ensure regression tests are insensitive to roundoff
+
#############################################################
# Output
#############################################################