|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_fe_poly_face_h
17 #define dealii_fe_poly_face_h
59 int dim = PolynomialType::dimension + 1,
90 virtual std::unique_ptr<
100 return std_cxx14::make_unique<InternalData>();
103 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
114 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
115 data_ptr = std_cxx14::make_unique<InternalData>();
116 auto &data =
dynamic_cast<InternalData &
>(*data_ptr);
119 const unsigned int n_q_points = quadrature.
size();
122 std::vector<double> values(0);
123 std::vector<
Tensor<1, dim - 1>> grads(0);
124 std::vector<
Tensor<2, dim - 1>> grad_grads(0);
125 std::vector<
Tensor<3, dim - 1>> empty_vector_of_3rd_order_tensors;
126 std::vector<
Tensor<4, dim - 1>> empty_vector_of_4th_order_tensors;
135 std::vector<double>(n_q_points));
136 for (
unsigned int i = 0; i < n_q_points; ++i)
142 empty_vector_of_3rd_order_tensors,
143 empty_vector_of_4th_order_tensors);
145 for (
unsigned int k = 0; k <
poly_space.n(); ++k)
146 data.shape_values[k][i] = values[k];
160 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
167 &output_data)
const override
183 const ::internal::FEValuesImplementation::MappingRelatedData<dim,
189 &output_data)
const override;
194 const unsigned int face_no,
198 const ::internal::FEValuesImplementation::MappingRelatedData<dim,
204 &output_data)
const override;
209 const unsigned int face_no,
210 const unsigned int sub_no,
214 const ::internal::FEValuesImplementation::MappingRelatedData<dim,
220 &output_data)
const override;
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
PolynomialType poly_space
FE_PolyFace(const PolynomialType &poly_space, const FiniteElementData< dim > &fe_data, const std::vector< bool > &restriction_is_additive_flags)
static ::ExceptionBase & ExcNotImplemented()
friend class InternalDataBase
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
@ update_values
Shape function values.
const Point< dim > & point(const unsigned int i) const
Abstract base class for mapping classes.
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
#define DEAL_II_NAMESPACE_OPEN
@ update_gradients
Shape function gradients.
std::vector< std::vector< double > > shape_values
virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) const override
unsigned int get_degree() const
#define Assert(cond, exc)
@ update_hessians
Second derivatives of shape functions.
const std::vector< bool > restriction_is_additive_flags
unsigned int size() const
#define DEAL_II_NAMESPACE_CLOSE
virtual void fill_fe_face_values(const typename Triangulation< dim, spacedim >::cell_iterator &cell, const unsigned int face_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 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
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