57 "Lowest order RT_Bubbles element is degree 1, but you requested for degree 0"));
75 const unsigned int nc =
78 for (
unsigned int i = 0; i <
nc; ++i)
94 FETools::compute_face_embedding_matrices<dim, double>(*
this,
137 namebuf <<
"FE_RT_Bubbles<" << dim <<
">(" << this->degree <<
")";
145std::unique_ptr<FiniteElement<dim, dim>>
148 return std::make_unique<FE_RT_Bubbles<dim>>(*this);
165 const unsigned int face_no = 0;
167 this->generalized_support_points.resize(this->n_dofs_per_cell());
168 this->generalized_face_support_points[
face_no].resize(
169 this->n_dofs_per_face(
face_no));
182 for (
unsigned int k = 0;
k < this->n_dofs_per_face(
face_no); ++
k)
183 this->generalized_face_support_points[
face_no][
k] =
188 for (
unsigned int k = 0;
k < this->n_dofs_per_face(
face_no) *
191 this->generalized_support_points[
k] = faces.point(
197 this->n_dofs_per_face(
210 std::vector<Point<1>>
pts =
high.get_points();
220 for (
unsigned int d = 0; d < dim; ++d)
222 std::unique_ptr<QAnisotropic<dim>> quadrature;
226 quadrature = std::make_unique<QAnisotropic<dim>>(
high);
230 std::make_unique<QAnisotropic<dim>>(((d == 0) ?
low :
high),
235 std::make_unique<QAnisotropic<dim>>(((d == 0) ?
low :
high),
243 for (
unsigned int k = 0;
k < quadrature->
size(); ++
k)
244 this->generalized_support_points[
current++] = quadrature->point(
k);
252std::vector<unsigned int>
256 unsigned int dofs_per_face = 1;
257 for (
unsigned int d = 1; d < dim; ++d)
258 dofs_per_face *=
deg + 1;
264 std::vector<unsigned int>
dpo(dim + 1);
265 dpo[dim - 1] = dofs_per_face;
278 return std::vector<bool>();
287 const unsigned int dofs_per_cell =
289 unsigned int dofs_per_face =
deg + 1;
290 for (
unsigned int d = 2; d < dim; ++d)
291 dofs_per_face *=
deg + 1;
295 std::vector<bool> ret_val(dofs_per_cell,
false);
314 this->generalized_support_points.
size()));
319 this->n_components()));
323 unsigned int fbase = 0;
326 ++f,
fbase += this->n_dofs_per_face(f))
328 for (
unsigned int i = 0; i < this->n_dofs_per_face(f); ++i)
336 const unsigned int istep = (this->n_dofs_per_cell() -
fbase) / dim;
342 for (
unsigned int i = 0; i <
istep; ++i)
355#include "fe_rt_bubbles.inst"
FullMatrix< double > inverse_node_matrix
std::vector< MappingKind > mapping_kind
FE_RT_Bubbles(const unsigned int k)
virtual std::string get_name() const override
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
void initialize_support_points(const unsigned int rt_degree)
virtual void convert_generalized_support_point_values_to_dof_values(const std::vector< Vector< double > > &support_point_values, std::vector< double > &nodal_values) const override
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
static std::vector< bool > get_ria_vector(const unsigned int degree)
void initialize_quad_dof_index_permutation_and_sign_change()
unsigned int n_dofs_per_cell() const
unsigned int n_dofs_per_face(unsigned int face_no=0, unsigned int child=0) const
unsigned int n_unique_faces() const
FullMatrix< double > interface_constraints
std::vector< std::vector< FullMatrix< double > > > prolongation
void invert(const FullMatrix< number2 > &M)
static unsigned int n_polynomials(const unsigned int degree)
static Quadrature< dim > project_to_all_faces(const ReferenceCell &reference_cell, const hp::QCollection< dim - 1 > &quadrature)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
#define AssertDimension(dim1, dim2)
static ::ExceptionBase & ExcInternalError()
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
static ::ExceptionBase & ExcMessage(std::string arg1)
constexpr T pow(const T base, const int iexp)
static unsigned int n_children(const RefinementCase< dim > &refinement_case)