Permalink
Browse files

Merge branch 'fix_facetfe_segment_order' into 'master'

fix order of facetfe segments (was not set at all)

See merge request jschoeberl/ngsolve!296
  • Loading branch information...
JSchoeberl committed Feb 2, 2018
2 parents 9080131 + 24a6307 commit e66960770c2309b1a57951e3fd7af90fae521ba1
Showing with 2 additions and 1 deletion.
  1. +1 −0 comp/facetfespace.cpp
  2. +1 −1 fem/facetfe.hpp
@@ -481,6 +481,7 @@ namespace ngcomp
FacetFE<ET> * fe = new (alloc) FacetFE<ET> ();
fe -> SetVertexNumbers (ngel.Vertices());
fe -> SetOrder(0);
if (ET_trait<ET>::DIM >= 2)
for (int i = 0; i < ET_trait<ET>::N_FACET; i++)
fe -> SetOrder (i, order_facet[ngel.Facets()[i]][0]);
@@ -101,7 +101,7 @@ namespace ngfem
facet_order[i] = ao;
}
void SetOrder (int nr, int o) { facet_order[nr] = o; }
void SetOrder (int nr, int o) { facet_order[nr] = o; order = max2(order,o); }
void SetOrder (FlatArray<int> & ao)
{

0 comments on commit e669607

Please sign in to comment.