 #include "device_atomic_functions.h"
 
 #include "Math_basics.cuh"
+#include "AtomicAction.cuh"
 
 #include "Polygon.h"
 #include <iostream>
-
+#include <fstream>
+
+using namespace std;
 using namespace P_RVD;
 
 //set global variable to store the seeds' position and weight
 __device__ double* SeedsInformation;
+
+__device__ int* SeedsPolygon_nb;
 /*
 	process the cuda error
 */

	double* dev_test_center;

	double* dev_seedsInformation;
	
	int* host_test_index = (int*)malloc(sizeof(int) * points_nb);
	int* dev_test_index;


	checkCudaErrors(cudaSetDevice(0));
	

		free(polygon);
	}
}

extern "C" void runCuda(double* host_seeds_pointer, double* host_mesh_vertex_pointer,
	int* host_facet_index, int points_nb, int mesh_vertex_nb, int mesh_facet_nb)
