Use the homogeneous splitter for interpolation
This commit is contained in:
parent
ada4626131
commit
134f4413eb
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include "config.hpp"
|
#include "config.hpp"
|
||||||
#include "mykdtree.hpp"
|
#include "mykdtree.hpp"
|
||||||
|
#include "kdtree_splitters.hpp"
|
||||||
#include <gsl/gsl_eigen.h>
|
#include <gsl/gsl_eigen.h>
|
||||||
|
|
||||||
namespace CosmoTool {
|
namespace CosmoTool {
|
||||||
@ -14,7 +15,7 @@ namespace CosmoTool {
|
|||||||
int32_t *simplex_list;
|
int32_t *simplex_list;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef KDTree<N, SimplexAccess, PType> QuickTree;
|
typedef KDTree<N, SimplexAccess, PType, KD_homogeneous_cell_splitter<N, SimplexAccess> > QuickTree;
|
||||||
typedef typename QuickTree::Cell QuickCell;
|
typedef typename QuickTree::Cell QuickCell;
|
||||||
typedef PType CoordType[N];
|
typedef PType CoordType[N];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user