// ---------------------------------------------------------------------
//
-// Copyright (C) 2000 - 2015 by the deal.II authors
+// Copyright (C) 2000 - 2017 by the deal.II authors
//
// This file is part of the deal.II library.
//
#include <deal.II/base/tensor_product_polynomials_bubbles.h>
#include <deal.II/base/polynomials_piecewise.h>
#include <deal.II/fe/fe_q_base.h>
+#include <deal.II/fe/fe_dgq.h>
+#include <deal.II/fe/fe_dgp.h>
#include <deal.II/fe/fe_nothing.h>
#include <deal.II/fe/fe_tools.h>
#include <deal.II/base/quadrature_lib.h>
return FiniteElementDomination::no_requirements;
}
}
+ else if ((dynamic_cast<const FE_DGQ<dim,spacedim>*>(&fe_other) != 0)
+ ||
+ (dynamic_cast<const FE_DGP<dim,spacedim>*>(&fe_other) != 0))
+ {
+ // there are no requirements between continuous and
+ // discontinuous elements
+ return FiniteElementDomination::no_requirements;
+ }
Assert (false, ExcNotImplemented());
return FiniteElementDomination::neither_element_dominates;