]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add missing function
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Sep 2006 18:55:09 +0000 (18:55 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Sep 2006 18:55:09 +0000 (18:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@13793 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_dgq.cc

index 4ee84cd34ba9c26d3b1b78345b37640f4f756467..f69c236bc3c770690f87ad64eacd30fdfaeccef9 100644 (file)
@@ -492,6 +492,23 @@ FE_DGQ<dim>::hp_constraints_are_implemented () const
 
 
 
+template <int dim>
+typename FiniteElementData<dim>::Domination
+FE_DGQ<dim>::compare_for_domination (const FiniteElement<dim> &fe_other) const
+{
+                                  // check whether both are discontinuous
+                                  // elements and both could dominate, see
+                                  // the description of
+                                  // FiniteElementData<dim>::Domination
+  if (dynamic_cast<const FE_DGQ<dim>*>(&fe_other) != 0)
+    return FiniteElementData<dim>::either_element_can_dominate;
+
+  Assert (false, ExcNotImplemented());
+  return FiniteElementData<dim>::neither_element_dominates;
+}
+
+
+
 template <int dim>
 bool
 FE_DGQ<dim>::has_support_on_face (const unsigned int shape_index,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.