16 #ifndef dealii_fe_face_h 17 #define dealii_fe_face_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/base/tensor_product_polynomials.h> 21 #include <deal.II/base/polynomial_space.h> 22 #include <deal.II/fe/fe_poly_face.h> 24 DEAL_II_NAMESPACE_OPEN
54 template <
int dim,
int spacedim=dim>
66 std::unique_ptr<FiniteElement<dim,spacedim> >
74 virtual std::string
get_name ()
const;
86 std::vector<double> &nodal_values)
const;
110 const unsigned int subface,
118 const unsigned int face_index)
const;
143 std::vector<std::pair<unsigned int, unsigned int> >
153 std::vector<std::pair<unsigned int, unsigned int> >
163 std::vector<std::pair<unsigned int, unsigned int> >
192 virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
199 static std::vector<unsigned int>
get_dpo_vector (
const unsigned int deg);
216 template <
int spacedim>
226 std::unique_ptr<FiniteElement<1,spacedim>>
234 virtual std::string
get_name ()
const;
263 const unsigned int subface,
271 const unsigned int face_index)
const;
297 std::vector<std::pair<unsigned int, unsigned int> >
307 std::vector<std::pair<unsigned int, unsigned int> >
317 std::vector<std::pair<unsigned int, unsigned int> >
337 virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
348 std::unique_ptr<typename FiniteElement<1,spacedim>::InternalDataBase>
354 return std_cxx14::make_unique<typename FiniteElement<1, spacedim>::InternalDataBase>();
357 std::unique_ptr<typename FiniteElement<1,spacedim>::InternalDataBase>
364 auto data = std_cxx14::make_unique<typename FiniteElement<1,spacedim>::InternalDataBase>();
367 const unsigned int n_q_points = quadrature.
size();
377 return std::move(data);
380 std::unique_ptr<typename FiniteElement<1,spacedim>::InternalDataBase>
386 return get_face_data(update_flags, mapping, quadrature, output_data);
396 const ::internal::FEValuesImplementation::MappingRelatedData<1, spacedim> &mapping_data,
403 const unsigned int face_no,
407 const ::internal::FEValuesImplementation::MappingRelatedData<1, spacedim> &mapping_data,
414 const unsigned int face_no,
415 const unsigned int sub_no,
419 const ::internal::FEValuesImplementation::MappingRelatedData<1, spacedim> &mapping_data,
428 std::vector<unsigned int>
458 template <
int dim,
int spacedim=dim>
470 std::unique_ptr<FiniteElement<dim,spacedim> >
478 virtual std::string
get_name ()
const;
502 const unsigned int subface,
510 const unsigned int face_index)
const;
537 virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
544 static std::vector<unsigned int>
get_dpo_vector (
const unsigned int deg);
553 template <
int spacedim>
569 DEAL_II_NAMESPACE_CLOSE
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const
#define AssertDimension(dim1, dim2)
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const
std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase > get_face_data(const UpdateFlags update_flags, const Mapping< dim, spacedim > &, const Quadrature< dim-1 > &quadrature, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &) const
virtual FiniteElementDomination::Domination compare_for_face_domination(const FiniteElement< dim, spacedim > &fe_other) const
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const
std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase > get_subface_data(const UpdateFlags update_flags, const Mapping< dim, spacedim > &mapping, const Quadrature< dim-1 > &quadrature, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix) const
virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) const
#define Assert(cond, exc)
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const
virtual std::string get_name() const
Abstract base class for mapping classes.
virtual bool hp_constraints_are_implemented() const
FE_FaceQ(const unsigned int p)
virtual void convert_generalized_support_point_values_to_dof_values(const std::vector< Vector< double > > &support_point_values, std::vector< double > &nodal_values) const
static std::vector< unsigned int > get_dpo_vector(const unsigned int deg)
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const
Second derivatives of shape functions.
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix) const
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
unsigned int size() const
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const
Shape function gradients.
static std::vector< unsigned int > get_dpo_vector(const unsigned int deg)
static ::ExceptionBase & ExcNotImplemented()
virtual std::string get_name() const
virtual std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase > get_data(const UpdateFlags, const Mapping< dim, spacedim > &, const Quadrature< dim > &, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &) const
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const
virtual FiniteElementDomination::Domination compare_for_face_domination(const FiniteElement< dim, spacedim > &fe_other) const
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
virtual bool hp_constraints_are_implemented() const