libatomprobe
Library for Atom Probe Tomography (APT) computation
Functions | Variables
KDTest.cpp File Reference
#include <iostream>
#include <cstdlib>
#include <sys/time.h>
#include "atomprobe/atomprobe.h"
Include dependency graph for KDTest.cpp:

Go to the source code of this file.

Functions

bool callback ()
 
void kdExactFuzz ()
 
bool testInexactKDTree ()
 
int main ()
 

Variables

const unsigned int NUM_IONS =1000
 
const float SCALE =100
 
const float SEARCH_RAD = 5
 
unsigned int progress =0
 

Function Documentation

◆ callback()

bool callback ( )

Definition at line 32 of file KDTest.cpp.

Referenced by kdExactFuzz().

◆ kdExactFuzz()

void kdExactFuzz ( )

◆ main()

int main ( )

Definition at line 125 of file KDTest.cpp.

References kdExactFuzz(), NUM_IONS, SCALE, SEARCH_RAD, and testInexactKDTree().

Here is the call graph for this function:

◆ testInexactKDTree()

bool testInexactKDTree ( )

Definition at line 98 of file KDTest.cpp.

References AtomProbe::K3DTreeApprox::build(), AtomProbe::K3DTreeApprox::findNearest(), and AtomProbe::Point3D::sqrDist().

Referenced by main().

Here is the call graph for this function:

Variable Documentation

◆ NUM_IONS

const unsigned int NUM_IONS =1000

Definition at line 26 of file KDTest.cpp.

Referenced by AtomProbe::findPeaks(), AtomProbe::GetReducedHullPts(), kdExactFuzz(), and main().

◆ progress

unsigned int progress =0

Definition at line 30 of file KDTest.cpp.

Referenced by kdExactFuzz().

◆ SCALE

const float SCALE =100

Definition at line 27 of file KDTest.cpp.

Referenced by AtomProbe::GetReducedHullPts(), kdExactFuzz(), and main().

◆ SEARCH_RAD

const float SEARCH_RAD = 5

Definition at line 28 of file KDTest.cpp.

Referenced by kdExactFuzz(), and main().