Commit b5effb66 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Work on periodic boundary conditions.

parent 70789436
......@@ -169,7 +169,8 @@ namespace AMDiS {
DegreeOfFreedom periodicDOF =
periodicDOFs[element->getPositionOfVertex(side, i)];
for (int j = 0; j < dim + 1; j++)
int j = 0;
for (; j < dim + 1; j++)
if (neigh->getDOF(j, 0) == periodicDOF)
break;
......
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