From 2f460607f9530775bfa47fc70b354c8a1d0b68df Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sun, 12 Sep 2010 21:38:41 +0200 Subject: [PATCH] Updated CMakeList.txt --- sample/testDelaunay2.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 sample/testDelaunay2.cpp diff --git a/sample/testDelaunay2.cpp b/sample/testDelaunay2.cpp deleted file mode 100644 index 1bc0a64..0000000 --- a/sample/testDelaunay2.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include -#include "dinterpolate.hpp" - -#define NX 10 -#define NY 10 - -using namespace std; -using namespace CosmoTool; - -typedef DelaunayInterpolate myTriangle; - -int main() -{ - - - myTriangle t(&pos[0], &vals[0], &simplex[0], 4, 2); - - for (uint32_t iy = 0; iy <= NY; iy++) { - for (uint32_t ix = 0; ix <= NX; ix++) { - myTriangle::CoordType inter = { ix *1.0/ NX, iy *1.0/NY }; - cout << inter[1] << " " << inter[0] << " " << t.computeValue(inter) << endl; - } - cout << endl; - } - return 0; -}