Permalink
Browse files

Merge branch 'cherry-pick-b1a58b8c' into 'master'

added other element types to periodic-fespace, not tested!

See merge request !211
  • Loading branch information...
JSchoeberl committed Jul 14, 2017
2 parents 60aabc0 + cfed90c commit 9775d23226742a88b3b936fdcaa05ae0a2634e46
Showing with 21 additions and 0 deletions.
  1. +21 −0 comp/periodic.cpp
@@ -91,13 +91,34 @@ namespace ngcomp {
hofe->SetVertexNumbers(vertex_map[ngel.Vertices()]);
break;
}
case ET_QUAD:
{
auto hofe = dynamic_cast<VertexOrientedFE<ET_QUAD>*>(&fe);
if(hofe)
hofe->SetVertexNumbers(vertex_map[ngel.Vertices()]);
break;
}
case ET_TET:
{
auto hofe = dynamic_cast<VertexOrientedFE<ET_TET>*>(&fe);
if(hofe)
hofe->SetVertexNumbers(vertex_map[ngel.Vertices()]);
break;
}
case ET_PRISM:
{
auto hofe = dynamic_cast<VertexOrientedFE<ET_PRISM>*>(&fe);
if(hofe)
hofe->SetVertexNumbers(vertex_map[ngel.Vertices()]);
break;
}
case ET_HEX:
{
auto hofe = dynamic_cast<VertexOrientedFE<ET_HEX>*>(&fe);
if(hofe)
hofe->SetVertexNumbers(vertex_map[ngel.Vertices()]);
break;
}
case ET_SEGM:
{
auto hofe = dynamic_cast<VertexOrientedFE<ET_SEGM>*>(&fe);

0 comments on commit 9775d23

Please sign in to comment.