Permalink
Browse files

Merge branch 'periodic3Dfix' into 'master'

Periodic3Dfix

See merge request !225
  • Loading branch information...
JSchoeberl committed Sep 5, 2017
2 parents f88f43f + e093664 commit 5b916a35c380363e0103c9697413abfe6c73f94e
Showing with 11 additions and 0 deletions.
  1. +11 −0 comp/meshaccess.cpp
@@ -1021,6 +1021,17 @@ namespace ngcomp
}
}
}
for(auto id : Range(1,nid+1))
{
if (GetDimension() == 3)
{
auto & pairs = GetPeriodicNodes(NT_FACE, id);
for(auto pair : pairs)
for(auto l : Range(2))
identified_facets[pair[l]] = std::tuple<int,int>(pair[1-l],2);
}
}
}
void MeshAccess ::

0 comments on commit 5b916a3

Please sign in to comment.