From 7cedf1bb6a8beb7f26ed6e5a02615533a97a4b39 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 1 Sep 2006 18:55:09 +0000 Subject: [PATCH] Add missing function git-svn-id: https://svn.dealii.org/trunk@13793 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_dgq.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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, -- 2.39.5