From 44f1aeee663c4f0b4da3a6a68302f976daa23849 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Thu, 17 Jul 2014 21:36:31 +0000 Subject: [PATCH] Compute unit face support points of FE_TraceQ git-svn-id: https://svn.dealii.org/trunk@33194 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/fe/fe_trace.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deal.II/source/fe/fe_trace.cc b/deal.II/source/fe/fe_trace.cc index af79e48461..4906f0d54e 100644 --- a/deal.II/source/fe/fe_trace.cc +++ b/deal.II/source/fe/fe_trace.cc @@ -16,7 +16,9 @@ #include #include +#include #include +#include #include #include @@ -42,6 +44,10 @@ FE_TraceQ::FE_TraceQ (const unsigned int degree) std::vector renumber (this->dofs_per_face); FETools::hierarchic_to_lexicographic_numbering (degree, renumber); this->poly_space.set_numbering(renumber); + + // Initialize face support points + FE_Q fe_q(degree); + this->unit_face_support_points = fe_q.get_unit_face_support_points(); } @@ -73,7 +79,7 @@ FE_TraceQ::get_name () const template bool FE_TraceQ::has_support_on_face (const unsigned int shape_index, - const unsigned int face_index) const + const unsigned int face_index) const { Assert (shape_index < this->dofs_per_cell, ExcIndexRange (shape_index, 0, this->dofs_per_cell)); -- 2.39.5