23template <
int dim,
int spacedim>
25 const unsigned int n_components,
38 ExcMessage(
"A finite element needs to have at least one "
39 "vector component."));
50template <
int dim,
int spacedim>
60template <
int dim,
int spacedim>
61std::unique_ptr<FiniteElement<dim, spacedim>>
64 return std::make_unique<FE_Nothing<dim, spacedim>>(*this);
69template <
int dim,
int spacedim>
73 std::ostringstream namebuf;
76 std::vector<std::string> name_components;
78 name_components.push_back(this->reference_cell().to_string());
79 if (this->n_components() > 1)
80 name_components.push_back(std::to_string(this->n_components()));
82 name_components.emplace_back(
"dominating");
84 for (
const std::string &comp : name_components)
87 if (comp != name_components.back())
97template <
int dim,
int spacedim>
106template <
int dim,
int spacedim>
117template <
int dim,
int spacedim>
118std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
130 return std::make_unique<
136template <
int dim,
int spacedim>
155template <
int dim,
int spacedim>
174template <
int dim,
int spacedim>
194template <
int dim,
int spacedim>
203template <
int dim,
int spacedim>
207 const unsigned int codim)
const
225template <
int dim,
int spacedim>
226std::vector<std::pair<unsigned int, unsigned int>>
234 return std::vector<std::pair<unsigned int, unsigned int>>();
238template <
int dim,
int spacedim>
239std::vector<std::pair<unsigned int, unsigned int>>
247 return std::vector<std::pair<unsigned int, unsigned int>>();
251template <
int dim,
int spacedim>
252std::vector<std::pair<unsigned int, unsigned int>>
255 const unsigned int)
const
261 return std::vector<std::pair<unsigned int, unsigned int>>();
265template <
int dim,
int spacedim>
274template <
int dim,
int spacedim>
282 (void)interpolation_matrix;
286 Assert(interpolation_matrix.
n() == 0,
292template <
int dim,
int spacedim>
297 const unsigned int)
const
301 (void)interpolation_matrix;
303 Assert(interpolation_matrix.
m() == 0,
305 Assert(interpolation_matrix.
n() == 0,
311template <
int dim,
int spacedim>
317 const unsigned int)
const
322 (void)interpolation_matrix;
323 Assert(interpolation_matrix.
m() == 0,
325 Assert(interpolation_matrix.
n() == 0,
331template <
int dim,
int spacedim>
332std::pair<Table<2, bool>, std::vector<unsigned int>>
342#include "fe_nothing.inst"
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual std::string get_name() const override
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source_fe, const unsigned int index, FullMatrix< double > &interpolation_matrix, const unsigned int face_no=0) const override
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source_fe, FullMatrix< double > &interpolation_matrix, const unsigned int face_no=0) const override
FE_Nothing(const ReferenceCell &type, const unsigned int n_components=1, const bool dominate=false)
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 UpdateFlags requires_update_flags(const UpdateFlags update_flags) const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual double shape_value(const unsigned int i, const Point< dim > &p) 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
virtual void get_interpolation_matrix(const FiniteElement< dim, spacedim > &source_fe, FullMatrix< double > &interpolation_matrix) const override
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
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
bool is_dominating() const
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
virtual bool hp_constraints_are_implemented() const override
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other, const unsigned int face_no=0) const override
unsigned int n_components() const
Abstract base class for mapping classes.
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
static ::ExceptionBase & ExcMessage(std::string arg1)
@ either_element_can_dominate
constexpr const ReferenceCell & get_hypercube()
std::string dim_string(const int dim, const int spacedim)