Skip to content
Snippets Groups Projects
Commit 4a9f0901 authored by Tom Fischer's avatar Tom Fischer
Browse files

changes due to changes in class template GeoLib::Grid

parent e262e08f
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ Mesh* MeshCoarsener::operator()(double min_distance)
}
// init grid
GeoLib::Grid<Node*>* grid(new GeoLib::Grid<Node*>(nodes, 64));
GeoLib::Grid<Node>* grid(new GeoLib::Grid<Node>(nodes.begin(), nodes.end(), 64));
// init id map
std::vector<size_t> id_map(n_nodes);
......
......@@ -49,7 +49,7 @@ void testMeshGridAlgorithm(MeshLib::Mesh const*const mesh,
unsigned long mem_without_mesh (mem_watch.getVirtMemUsage());
#endif
clock_t start_grid_construction = clock();
GeoLib::Grid<MeshLib::Node*> mesh_grid(mesh->getNodes(), 511);
GeoLib::Grid<MeshLib::Node> mesh_grid(mesh->getNodes().begin(), mesh->getNodes().end(), 511);
clock_t end_grid_construction = clock();
#ifndef WIN32
unsigned long mem_with_mesh (mem_watch.getVirtMemUsage());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment