Skip to content
Snippets Groups Projects
Commit 2bfc4dad authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'Plugin-MeanCurvature-updated' into 'master'

new iterators and circulators

See merge request !1
parents ebfcd7a7 e52e9a1a
Branches
Tags
1 merge request!1new iterators and circulators
......@@ -130,8 +130,8 @@ void MeanCurvaturePlugin::computeMeanCurvature(MeshT* _mesh) {
//time.start();
std::vector< typename MeshT::VertexHandle > handles;
handles.reserve(_mesh->n_vertices());
for ( typename MeshT::VertexIter v_it = _mesh->vertices_begin() ; v_it != _mesh->vertices_end(); ++v_it)
handles.push_back( *v_it );
for ( auto v_it : _mesh->vertices())
handles.push_back( v_it );
#ifdef USE_OPENMP
#pragma omp parallel for
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment