From: bangerth Date: Fri, 1 Sep 2006 18:55:09 +0000 (+0000) Subject: Add missing function X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cedf1bb6a8beb7f26ed6e5a02615533a97a4b39;p=dealii-svn.git Add missing function git-svn-id: https://svn.dealii.org/trunk@13793 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_dgq.cc b/deal.II/deal.II/source/fe/fe_dgq.cc index 4ee84cd34b..f69c236bc3 100644 --- a/deal.II/deal.II/source/fe/fe_dgq.cc +++ b/deal.II/deal.II/source/fe/fe_dgq.cc @@ -492,6 +492,23 @@ FE_DGQ::hp_constraints_are_implemented () const +template +typename FiniteElementData::Domination +FE_DGQ::compare_for_domination (const FiniteElement &fe_other) const +{ + // check whether both are discontinuous + // elements and both could dominate, see + // the description of + // FiniteElementData::Domination + if (dynamic_cast*>(&fe_other) != 0) + return FiniteElementData::either_element_can_dominate; + + Assert (false, ExcNotImplemented()); + return FiniteElementData::neither_element_dominates; +} + + + template bool FE_DGQ::has_support_on_face (const unsigned int shape_index,