16 #ifndef dealii__fe_enriched_h 17 #define dealii__fe_enriched_h 19 #include <deal.II/base/config.h> 25 #ifdef DEAL_II_WITH_CXX14 26 #include <deal.II/fe/fe.h> 27 #include <deal.II/fe/fe_system.h> 28 #include <deal.II/fe/fe_nothing.h> 29 #include <deal.II/fe/fe_update_flags.h> 30 #include <deal.II/base/function.h> 31 #include <deal.II/base/symmetric_tensor.h> 32 #include <deal.II/base/quadrature.h> 38 DEAL_II_NAMESPACE_OPEN
206 template <
int dim,
int spacedim=dim>
279 const std::vector< unsigned int > &multiplicities,
297 virtual std::string
get_name ()
const;
389 const unsigned int subface,
408 std::vector<std::pair<unsigned int, unsigned int> >
416 std::vector<std::pair<unsigned int, unsigned int> >
424 std::vector<std::pair<unsigned int, unsigned int> >
468 std::vector<double> values;
469 std::vector<Tensor<1,spacedim> > gradients;
470 std::vector<SymmetricTensor<2, spacedim> > hessians;
504 std::unique_ptr<typename FESystem<dim,spacedim>::InternalData>
fesystem_data;
518 mutable std::vector<std::vector<EnrichmentValues> >
enrichment;
594 const ::internal::FEValues::MappingRelatedData<dim, spacedim> &mapping_data,
602 const unsigned int face_no,
606 const ::internal::FEValues::MappingRelatedData<dim, spacedim> &mapping_data,
614 const unsigned int face_no,
615 const unsigned int sub_no,
619 const ::internal::FEValues::MappingRelatedData<dim, spacedim> &mapping_data,
630 const std::vector<unsigned int> &multiplicities);
652 DEAL_II_NAMESPACE_CLOSE
656 #endif // dealii__fe_enriched_h virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
const std::vector< std::vector< std::function< const Function< spacedim > *(const typename Triangulation< dim, spacedim >::cell_iterator &) > > > get_enrichments() const
InternalData(std::unique_ptr< typename FESystem< dim, spacedim >::InternalData > fesystem_data)
FE_Enriched(const FiniteElement< dim, spacedim > &fe_base, const FiniteElement< dim, spacedim > &fe_enriched, const Function< spacedim > *enrichment_function)
void initialize(const std::vector< const FiniteElement< dim, spacedim > *> &fes, const std::vector< unsigned int > &multiplicities)
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix) const
std::vector< std::vector< EnrichmentValues > > enrichment
std::unique_ptr< typename FESystem< dim, spacedim >::InternalData > fesystem_data
virtual const FiniteElement< dim, spacedim > & base_element(const unsigned int index) const
const FESystem< dim, spacedim > & get_fe_system() const
virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) const
virtual bool hp_constraints_are_implemented() const
virtual double shape_value(const unsigned int i, const Point< dim > &p) const
internal::FEValues::FiniteElementRelatedData< dim, spacedim > & get_fe_output_object(const unsigned int base_no) const
FiniteElement< dim, spacedim >::InternalDataBase & get_fe_data(const unsigned int base_no) const
virtual const FullMatrix< double > & get_prolongation_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const
Abstract base class for mapping classes.
virtual std::string get_name() const
void multiply_by_enrichment(const Quadrature< dim_1 > &quadrature, const InternalData &fe_data, const internal::FEValues::MappingRelatedData< dim, spacedim > &mapping_data, const typename Triangulation< dim, spacedim >::cell_iterator &cell, internal::FEValues::FiniteElementRelatedData< dim, spacedim > &output_data) const
FESystem< dim, spacedim > fe_system
FiniteElement< dim, spacedim >::InternalDataBase * setup_data(std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase > fes_data, const UpdateFlags flags, const Quadrature< dim_1 > &quadrature) const
virtual FiniteElement< dim, spacedim >::InternalDataBase * get_data(const UpdateFlags flags, const Mapping< dim, spacedim > &mapping, const Quadrature< dim > &quadrature, ::internal::FEValues::FiniteElementRelatedData< dim, spacedim > &output_data) const
virtual FiniteElement< dim, spacedim >::InternalDataBase * get_face_data(const UpdateFlags update_flags, const Mapping< dim, spacedim > &mapping, const Quadrature< dim-1 > &quadrature, ::internal::FEValues::FiniteElementRelatedData< dim, spacedim > &output_data) const
virtual FiniteElement< dim, spacedim >::InternalDataBase * get_subface_data(const UpdateFlags update_flags, const Mapping< dim, spacedim > &mapping, const Quadrature< dim-1 > &quadrature, ::internal::FEValues::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
std::vector< std::vector< std::vector< unsigned int > > > base_no_mult_local_enriched_dofs
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const
virtual FiniteElement< dim, spacedim > * clone() const
virtual const FullMatrix< double > & get_restriction_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const
virtual FiniteElementDomination::Domination compare_for_face_domination(const FiniteElement< dim, spacedim > &fe_other) const
const std::vector< std::vector< std::function< const Function< spacedim > *(const typename Triangulation< dim, spacedim >::cell_iterator &) > > > enrichments