aboutsummaryrefslogtreecommitdiff
path: root/src/patch/fd_grid.cc
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-04-07 13:13:26 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-04-07 13:13:26 +0000
commitec7974cd2a9ed540cc0022e365a13ff961c128aa (patch)
tree1200a74d20f1e0e1c852d98c3b0928e811f89a45 /src/patch/fd_grid.cc
parent663881c6bbe0e73086237c8b932cda6fd1a41f7c (diff)
many small mods to fix compiler-detected errors in 1st compiles after
the last few weeks rewrites --> not quite "clean compile" yet :( git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@457 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/fd_grid.cc')
-rw-r--r--src/patch/fd_grid.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/patch/fd_grid.cc b/src/patch/fd_grid.cc
index 5748b4e..4bb9480 100644
--- a/src/patch/fd_grid.cc
+++ b/src/patch/fd_grid.cc
@@ -10,10 +10,10 @@
#include <math.h>
#include "jt/stdc.h"
-#include "jt/util.hh" // jtutil::how_many_in_range(),
- // round<fp>::, fuzzy<fp>::
+#include "jt/util.hh"
#include "jt/array.hh"
#include "jt/linear_map.hh"
+using jtutil::error_exit;
#include "fp.hh"
#include "coords.hh"
@@ -26,8 +26,8 @@
// This function computes a single coefficient of a 1st derivative
// molecule, for unit grid spacing.
//
-fp dx_coeff(int m)
- const
+//static
+ fp fd_grid::dx_coeff(int m)
{
#ifndef FINITE_DIFF_ORDER
#error "must define FINITE_DIFF_ORDER!"
@@ -51,7 +51,7 @@ switch (m)
default:
error_exit(ERROR_EXIT,
"***** fd_grid::dx_coeff(): m=%d is outside order=%d molecule radius=%d\n",
- m, FD_GRID__ORDER, FD_GRID__ORDER2__MOL_RADIUS);
+ m, FINITE_DIFF_ORDER, FD_GRID__MOL_RADIUS);
}
}
@@ -61,8 +61,8 @@ default:
// This function computes a single coefficient of a 2nd derivative
// molecule, for unit grid spacing.
//
-fp dxx_coeff(int m)
- const
+//static
+ fp fd_grid::dxx_coeff(int m)
{
#ifndef FINITE_DIFF_ORDER
#error "must define FINITE_DIFF_ORDER!"
@@ -86,6 +86,6 @@ switch (m)
default:
error_exit(ERROR_EXIT,
"***** fd_grid::dxx_coeff(): m=%d is outside order=%d molecule radius=%d\n",
- m, FINITE_DIFF_ORDER, FD_GRID__ORDER2__MOL_RADIUS);
+ m, FINITE_DIFF_ORDER, FD_GRID__MOL_RADIUS);
}
}