# | Line 108 | Line 108 | namespace OpenMD { | |
---|---|---|
108 | std::vector<Triangle>::iterator face; | |
109 | std::vector<StuntDouble*>::iterator vertex; | |
110 | ||
111 | + | // This will work in parallel because the triangles returned by the mesh |
112 | + | // have a NULL stuntDouble if this processor doesn't own the |
113 | + | |
114 | for (face = sMesh.begin(); face != sMesh.end(); ++face) { | |
115 | Triangle thisTriangle = *face; | |
116 | std::vector<StuntDouble*> vertexSDs = thisTriangle.getVertices(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |