return neither_element_dominates;
case either_element_can_dominate:
+ if (d2 == no_requirements)
+ return either_element_can_dominate;
+ else
+ return d2;
+
case no_requirements:
return d2;
// interfaces with
// artificial cells
FiniteElementDomination::Domination
- mother_face_dominates = FiniteElementDomination::either_element_can_dominate;
+ mother_face_dominates = FiniteElementDomination::no_requirements;
if (DoFHandlerSupportsDifferentFEs<DH>::value == true)
for (unsigned int c=0; c<cell->face(face)->number_of_children(); ++c)
break;
}
+ case FiniteElementDomination::no_requirements:
+ // there
+ // are no
+ // continuity
+ // requirements
+ // between
+ // the two
+ // elements. record
+ // no
+ // constraints
+ break;
+
default:
// we shouldn't get
// here
ExcNotImplemented());
FiniteElementDomination::Domination
- domination = FiniteElementDomination::either_element_can_dominate;
+ domination = FiniteElementDomination::no_requirements;
// loop over all base elements and do
// some sanity checks
// for this pair of base elements,
// check who dominates and combine
// with previous result
- domination = domination & (this->base_element(b)
- .compare_for_face_domination (fe_sys_other->base_element(b)));
+ const FiniteElementDomination::Domination
+ base_domination = (this->base_element(b)
+ .compare_for_face_domination (fe_sys_other->base_element(b)));
+ domination = domination & base_domination;
}
// if we've gotten here, then we've