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

PeriodicNodes should save MVertex::getIndex(), not getNum()!

parent 3515f9ce
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ void writeMSHPeriodicNodes(FILE *fp, std::vector<GEntity*> &entities)
it != g_slave->correspondingVertices.end(); it++){
MVertex *v1 = it->first;
MVertex *v2 = it->second;
fprintf(fp,"%d %d\n", v1->getNum(), v2->getNum());
fprintf(fp,"%d %d\n", v1->getIndex(), v2->getIndex());
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment