16 #ifndef dealii_fe_face_h 17 #define dealii_fe_face_h 19 #include <deal.II/base/config.h> 21 #include <deal.II/base/polynomial_space.h> 22 #include <deal.II/base/tensor_product_polynomials.h> 24 #include <deal.II/fe/fe_poly_face.h> 26 DEAL_II_NAMESPACE_OPEN
56 template <
int dim,
int spacedim = dim>
58 :
public FE_PolyFace<TensorProductPolynomials<dim - 1>, dim, spacedim>
68 virtual std::unique_ptr<FiniteElement<dim, spacedim>>
69 clone()
const override;
89 std::vector<double> & nodal_values)
const override;
113 const unsigned int subface,
122 const unsigned int face_index)
const override;
146 virtual std::vector<std::pair<unsigned int, unsigned int>>
156 virtual std::vector<std::pair<unsigned int, unsigned int>>
166 virtual std::vector<std::pair<unsigned int, unsigned int>>
182 const unsigned int codim = 0)
const override final;
192 virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
199 static std::vector<unsigned int>
217 template <
int spacedim>
226 virtual std::unique_ptr<FiniteElement<1, spacedim>>
227 clone()
const override;
263 const unsigned int subface,
272 const unsigned int face_index)
const override;
298 virtual std::vector<std::pair<unsigned int, unsigned int>>
308 virtual std::vector<std::pair<unsigned int, unsigned int>>
318 virtual std::vector<std::pair<unsigned int, unsigned int>>
326 virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
337 virtual std::unique_ptr<typename FiniteElement<1, spacedim>::InternalDataBase>
346 return std_cxx14::make_unique<
350 std::unique_ptr<typename FiniteElement<1, spacedim>::InternalDataBase>
360 auto data_ptr = std_cxx14::make_unique<
364 const unsigned int n_q_points = quadrature.
size();
378 std::unique_ptr<typename FiniteElement<1, spacedim>::InternalDataBase>
385 &output_data)
const override 387 return get_face_data(update_flags, mapping, quadrature, output_data);
397 const ::internal::FEValuesImplementation::MappingRelatedData<1,
403 &output_data)
const override;
408 const unsigned int face_no,
412 const ::internal::FEValuesImplementation::MappingRelatedData<1,
418 &output_data)
const override;
421 fill_fe_subface_values(
423 const unsigned int face_no,
424 const unsigned int sub_no,
428 const ::internal::FEValuesImplementation::MappingRelatedData<1,
434 &output_data)
const override;
440 static std::vector<unsigned int>
470 template <
int dim,
int spacedim = dim>
481 virtual std::unique_ptr<FiniteElement<dim, spacedim>>
482 clone()
const override;
514 const unsigned int subface,
523 const unsigned int face_index)
const override;
537 const unsigned int codim = 0)
const override final;
545 virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
552 static std::vector<unsigned int>
562 template <
int spacedim>
579 DEAL_II_NAMESPACE_CLOSE
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const override
virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) const override
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
#define AssertDimension(dim1, dim2)
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 override
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix) const override
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
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 override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
#define Assert(cond, exc)
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 override
Abstract base class for mapping classes.
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix) const override
FE_FaceQ(const unsigned int p)
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
virtual std::string get_name() const override
static std::vector< unsigned int > get_dpo_vector(const unsigned int deg)
virtual bool hp_constraints_are_implemented() const override
Second derivatives of shape functions.
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
unsigned int size() const
Shape function gradients.
static std::vector< unsigned int > get_dpo_vector(const unsigned int deg)
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
static ::ExceptionBase & ExcNotImplemented()
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const override
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
virtual std::string get_name() const override
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
virtual bool hp_constraints_are_implemented() const override