Skip to content
Snippets Groups Projects

Update waves

Merged Boman Romain requested to merge adrien into master
3 files
+ 6
8
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 1
1
@@ -39,7 +39,7 @@ void Medium::createMap()
std::vector<Element *> vAdjE;
for (auto n : e->nodes)
vAdjE.insert(vAdjE.end(), neMap.at(n).begin(), neMap.at(n).end());
// // Sort vector as function of cg x-location and remove duplicates
// Sort and remove duplicates
std::sort(vAdjE.begin(), vAdjE.end());
auto iterator = std::unique(vAdjE.begin(), vAdjE.end());
vAdjE.resize(std::distance(vAdjE.begin(),iterator));
Loading