aboutsummaryrefslogtreecommitdiff
path: root/src/patch/test_patch_system.cc
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-04-07 17:43:07 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-04-07 17:43:07 +0000
commit0ac901204ee9a69474cc1922e2e2e951e39741d5 (patch)
treebe4e628641b2fb5220512984250da3c9ac716b3d /src/patch/test_patch_system.cc
parent68fa93208af8432556e2ba241ef743ee012cd17c (diff)
patch_system.cc
fix an awful/trivial bug (missing break; in switch) test_patch_system.cc comment out cctk_Arguments and CCTK_ARGUMENTS stuff to work around Cactus bugs git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@463 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/test_patch_system.cc')
-rw-r--r--src/patch/test_patch_system.cc26
1 files changed, 5 insertions, 21 deletions
diff --git a/src/patch/test_patch_system.cc b/src/patch/test_patch_system.cc
index 6fa14c7..e59c38f 100644
--- a/src/patch/test_patch_system.cc
+++ b/src/patch/test_patch_system.cc
@@ -4,32 +4,16 @@
//
// <<<prototypes>>>
// driver - Cactus interface
-// misc global data
-// main
-///
-/// setup_sym_fn_xyz - set up symmetrized test function fn(global_[xyz])
-/// setup_fn_rho_sigma - set up test function fn(rho,sigma)
-/// finite_diff - compute linear combination of finite differences
-/// analytic_derivs - compute linear combination of analytic derivatives
-/// gridfn_minus - compute gridfn x - gridfn y --> gridfn z
-///
-/// sym_fn_xyz - symmetrized test function fn(x,y,z) + fn(-y,x,z) + ...
-/// fn_xyz - test function fn(x,y,z)
-///
-/// fn_rho_sigma - test function fn(rho,sigma)
-/// finite_diff_fn - finite differences of fn(rho,sigma)
-/// analytic_deriv_fn - analytical derivs of fn(rho,sigma) (via Maple)
-///
+//
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <vector>
-using std::vector;
#include "util_Table.h"
#include "cctk.h"
-#include "cctk_Arguments.h"
+//#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "jt/stdc.h"
@@ -55,7 +39,7 @@ using jtutil::error_exit;
// ***** prototypes *****
//
extern "C"
- void test_patch_system(CCTK_ARGUMENTS);
+ void test_patch_system();
//******************************************************************************
@@ -63,14 +47,14 @@ extern "C"
// This function is the Cactus interface for the test driver.
//
extern "C"
- void test_patch_system(CCTK_ARGUMENTS)
+ void test_patch_system()
{
-DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_PARAMETERS
//
// set up the interpatch interpolator
//
+CCTK_VInfo(CCTK_THORNSTRING, "setting up interpatch interpolator");
const int interp_handle = CCTK_InterpHandle(interpatch_interpolator_name);
if (interp_handle < 0)
then CCTK_VWarn(-1, __LINE__, __FILE__, CCTK_THORNSTRING,