diff options
author | schnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf> | 2004-06-09 15:14:32 +0000 |
---|---|---|
committer | schnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf> | 2004-06-09 15:14:32 +0000 |
commit | 4e9143deab72ea0213cdf8de81c10341fdead108 (patch) | |
tree | 4bcd517d56c91b85b60911c7bf0fb429d6c094dc | |
parent | 2a6ef5d0a1aa7aa1ca8c90a1d17ce3ed4abe5327 (diff) |
Rename keyword value "interpolation" to "evaluation".
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@14 b2a53a04-0f4f-0410-87ed-f9f25ced00cf
-rw-r--r-- | param.ccl | 2 | ||||
-rw-r--r-- | src/TwoPunctures.c | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -33,7 +33,7 @@ BOOLEAN keep_u_around "Keep the variable u around after solving" KEYWORD grid_setup_method "How to fill the 3D grid from the spectral grid" { "Taylor expansion" :: "use a Taylor expansion about the nearest collocation point (fast, but might be inaccurate)" - "interpolation" :: "interpolate using all spectral coefficients (slow)" + "evaluation" :: "evaluate using all spectral coefficients (slow)" } "Taylor expansion" diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c index 005b98f..b6ebd67 100644 --- a/src/TwoPunctures.c +++ b/src/TwoPunctures.c @@ -29,7 +29,7 @@ TwoPunctures (CCTK_ARGUMENTS) DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; - enum GRID_SETUP_METHOD { GSM_Taylor_expansion, GSM_interpolation }; + enum GRID_SETUP_METHOD { GSM_Taylor_expansion, GSM_evaluation }; enum GRID_SETUP_METHOD gsm; int nvar = 1, n1 = npoints_A, n2 = npoints_B, n3 = npoints_phi; @@ -54,9 +54,9 @@ TwoPunctures (CCTK_ARGUMENTS) { gsm = GSM_Taylor_expansion; } - else if (CCTK_EQUALS(grid_setup_method, "interpolation")) + else if (CCTK_EQUALS(grid_setup_method, "evaluation")) { - gsm = GSM_interpolation; + gsm = GSM_evaluation; } else { @@ -97,7 +97,7 @@ TwoPunctures (CCTK_ARGUMENTS) U = PunctTaylorExpandAtArbitPosition (0, nvar, n1, n2, n3, v, x[ind], y[ind], z[ind]); break; - case GSM_interpolation: + case GSM_evaluation: U = PunctIntPolAtArbitPosition (0, nvar, n1, n2, n3, v, x[ind], y[ind], z[ind]); break; |