Commit bc65d8a4 authored by untereiner's avatar untereiner
Browse files

Merge cgogn:~/CGoGN

parents b7931eb0 b53b94fe
...@@ -367,7 +367,7 @@ public: ...@@ -367,7 +367,7 @@ public:
template <typename PFP, typename EMBV, typename EMB> template <typename PFP, typename EMBV, typename EMB>
void computeCentroidELWVolumesGen(typename PFP::MAP& map, void computeCentroidELWVolumesGen(typename PFP::MAP& map,
const EMBV& position, VolumeAttribute<typename PFP::VEC3>& vol_centroid, const EMBV& position, VolumeAttribute<typename PFP::VEC3>& vol_centroid,
unsigned int nbth = 0) unsigned int nbth)
{ {
FunctorComputeCentroidELWVolumesGen<PFP,EMBV,EMB> funct(map,position,vol_centroid); FunctorComputeCentroidELWVolumesGen<PFP,EMBV,EMB> funct(map,position,vol_centroid);
Algo::Parallel::foreach_cell<typename PFP::MAP,VOLUME>(map, funct, nbth, true); Algo::Parallel::foreach_cell<typename PFP::MAP,VOLUME>(map, funct, nbth, true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment