Skip to content
Snippets Groups Projects
Commit 2b93624f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent 18893c8c
No related branches found
No related tags found
No related merge requests found
...@@ -1776,15 +1776,11 @@ int GModel::removeDuplicateMeshVertices(double tolerance) ...@@ -1776,15 +1776,11 @@ int GModel::removeDuplicateMeshVertices(double tolerance)
} }
} }
// --- replace vertices in the periodic copies // replace vertices in the periodic copies
for(unsigned int i = 0; i < entities.size(); i++){ for(unsigned int i = 0; i < entities.size(); i++){
GEntity* ge = entities[i]; GEntity* ge = entities[i];
std::map<MVertex*,MVertex*>& corrVtcs = ge->correspondingVertices; std::map<MVertex*,MVertex*>& corrVtcs = ge->correspondingVertices;
std::map<MVertex*,MVertex*>::iterator cIter; std::map<MVertex*,MVertex*>::iterator cIter;
for (cIter=newVertex.begin();cIter!=newVertex.end();++cIter) { for (cIter=newVertex.begin();cIter!=newVertex.end();++cIter) {
MVertex* oldTgt = cIter->first; MVertex* oldTgt = cIter->first;
MVertex* newTgt = cIter->second; MVertex* newTgt = cIter->second;
...@@ -1795,12 +1791,9 @@ int GModel::removeDuplicateMeshVertices(double tolerance) ...@@ -1795,12 +1791,9 @@ int GModel::removeDuplicateMeshVertices(double tolerance)
corrVtcs[newTgt] = src; corrVtcs[newTgt] = src;
} }
} }
for (cIter=corrVtcs.begin();cIter!=corrVtcs.end();++cIter) { for (cIter=corrVtcs.begin();cIter!=corrVtcs.end();++cIter) {
MVertex* oldSrc = cIter->second; MVertex* oldSrc = cIter->second;
std::map<MVertex*,MVertex*>::iterator nIter = newVertex.find(oldSrc); std::map<MVertex*,MVertex*>::iterator nIter = newVertex.find(oldSrc);
if (nIter != newVertex.end()) { if (nIter != newVertex.end()) {
MVertex* tgt = cIter->first; MVertex* tgt = cIter->first;
MVertex* newSrc = nIter->second; MVertex* newSrc = nIter->second;
......
2.13.2: small improvements (scale labels, periodic and high-order meshes) and 2.13.2 (August 18, 2016)): small improvements (scale labels, periodic and
bug fixes. high-order meshes) and bug fixes.
2.13.1: small bug fixes. 2.13.1 (July 15, 2016): small bug fixes.
2.13.0: new ONELAB 1.2 protocol with native support for lists; new experimental 2.13.0 (July 11, 2016): new ONELAB 1.2 protocol with native support for lists;
3D boundary recovery code and 3D refinement algorithm; better adaptive new experimental 3D boundary recovery code and 3D refinement algorithm; better
visualization of quads and hexahedra; fixed several regressions introduced in adaptive visualization of quads and hexahedra; fixed several regressions
2.12. introduced in 2.12.
2.12.0 (March 5, 2016): improved interactive definition of physical groups and 2.12.0 (March 5, 2016): improved interactive definition of physical groups and
handling of ONELAB clients; improved full quad algorithm; added support for list handling of ONELAB clients; improved full quad algorithm; added support for list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment