15#ifndef dealii_fe_poly_face_h
16#define dealii_fe_poly_face_h
57template <
typename PolynomialType,
58 int dim = PolynomialType::dimension + 1,
89 virtual std::unique_ptr<
97 &output_data)
const override
103 return std::make_unique<InternalData>();
108 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
115 &output_data)
const override
123 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
124 data_ptr = std::make_unique<InternalData>();
128 const unsigned int n_q_points = quadrature[0].
size();
131 std::vector<double> values(0);
132 std::vector<
Tensor<1, dim - 1>> grads(0);
133 std::vector<
Tensor<2, dim - 1>> grad_grads(0);
134 std::vector<
Tensor<3, dim - 1>> empty_vector_of_3rd_order_tensors;
135 std::vector<
Tensor<4, dim - 1>> empty_vector_of_4th_order_tensors;
144 std::vector<double>(n_q_points));
145 for (
unsigned int i = 0; i < n_q_points; ++i)
151 empty_vector_of_3rd_order_tensors,
152 empty_vector_of_4th_order_tensors);
154 for (
unsigned int k = 0; k <
poly_space.n(); ++k)
155 data.shape_values[k][i] = values[k];
169 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
176 &output_data)
const override
198 &output_data)
const override;
205 const unsigned int face_no,
214 &output_data)
const override;
219 const unsigned int face_no,
220 const unsigned int sub_no,
229 &output_data)
const override;
std::vector< std::vector< double > > shape_values
PolynomialType poly_space
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
virtual void fill_fe_face_values(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const unsigned int face_no, const hp::QCollection< dim - 1 > &quadrature, const Mapping< dim, spacedim > &mapping, const typename Mapping< dim, spacedim >::InternalDataBase &mapping_internal, const internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > &mapping_data, const typename FiniteElement< dim, spacedim >::InternalDataBase &fe_internal, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const override
std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase > get_face_data(const UpdateFlags update_flags, const Mapping< dim, spacedim > &mapping, const hp::QCollection< dim - 1 > &quadrature, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const override
virtual void fill_fe_values(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const CellSimilarity::Similarity cell_similarity, const Quadrature< dim > &quadrature, const Mapping< dim, spacedim > &mapping, const typename Mapping< dim, spacedim >::InternalDataBase &mapping_internal, const internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > &mapping_data, const typename FiniteElement< dim, spacedim >::InternalDataBase &fe_internal, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const override
FE_PolyFace(const PolynomialType &poly_space, const FiniteElementData< dim > &fe_data, const std::vector< bool > &restriction_is_additive_flags)
virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) const override
virtual void fill_fe_subface_values(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const unsigned int face_no, const unsigned int sub_no, const Quadrature< dim - 1 > &quadrature, const Mapping< dim, spacedim > &mapping, const typename Mapping< dim, spacedim >::InternalDataBase &mapping_internal, const internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > &mapping_data, const typename FiniteElement< dim, spacedim >::InternalDataBase &fe_internal, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const override
virtual std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase > get_data(const UpdateFlags update_flags, const Mapping< dim, spacedim > &mapping, const Quadrature< dim > &quadrature, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const override
unsigned int get_degree() const
const std::vector< bool > restriction_is_additive_flags
friend class InternalDataBase
Abstract base class for mapping classes.
unsigned int size() const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define AssertDimension(dim1, dim2)
@ update_hessians
Second derivatives of shape functions.
@ update_values
Shape function values.
@ update_gradients
Shape function gradients.
#define DEAL_II_NOT_IMPLEMENTED()
constexpr const ReferenceCell & get_hypercube()