24template <
int dim,
int spacedim>
26 const unsigned int n_components,
39 ExcMessage(
"A finite element needs to have at least one "
40 "vector component."));
51template <
int dim,
int spacedim>
61template <
int dim,
int spacedim>
62std::unique_ptr<FiniteElement<dim, spacedim>>
65 return std::make_unique<FE_Nothing<dim, spacedim>>(*this);
70template <
int dim,
int spacedim>
74 std::ostringstream namebuf;
77 std::vector<std::string> name_components;
78 if (this->reference_cell() != ReferenceCells::get_hypercube<dim>())
79 name_components.push_back(this->reference_cell().to_string());
80 if (this->n_components() > 1)
81 name_components.push_back(std::to_string(this->n_components()));
83 name_components.emplace_back(
"dominating");
85 for (
const std::string &comp : name_components)
88 if (comp != name_components.back())
98template <
int dim,
int spacedim>
107template <
int dim,
int spacedim>
118template <
int dim,
int spacedim>
119std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
131 return std::make_unique<
137template <
int dim,
int spacedim>
145 const ::internal::FEValuesImplementation::MappingRelatedData<dim,
158template <
int dim,
int spacedim>
166 const ::internal::FEValuesImplementation::MappingRelatedData<dim,
179template <
int dim,
int spacedim>
188 const ::internal::FEValuesImplementation::MappingRelatedData<dim,
201template <
int dim,
int spacedim>
210template <
int dim,
int spacedim>
214 const unsigned int codim)
const
232template <
int dim,
int spacedim>
233std::vector<std::pair<unsigned int, unsigned int>>
241 return std::vector<std::pair<unsigned int, unsigned int>>();
245template <
int dim,
int spacedim>
246std::vector<std::pair<unsigned int, unsigned int>>
254 return std::vector<std::pair<unsigned int, unsigned int>>();
258template <
int dim,
int spacedim>
259std::vector<std::pair<unsigned int, unsigned int>>
262 const unsigned int)
const
268 return std::vector<std::pair<unsigned int, unsigned int>>();
272template <
int dim,
int spacedim>
281template <
int dim,
int spacedim>
289 (void)interpolation_matrix;
291 Assert(interpolation_matrix.
m() == 0,
293 Assert(interpolation_matrix.
n() == 0,
299template <
int dim,
int spacedim>
304 const unsigned int)
const
308 (void)interpolation_matrix;
310 Assert(interpolation_matrix.
m() == 0,
312 Assert(interpolation_matrix.
n() == 0,
318template <
int dim,
int spacedim>
324 const unsigned int)
const
329 (void)interpolation_matrix;
330 Assert(interpolation_matrix.
m() == 0,
332 Assert(interpolation_matrix.
n() == 0,
338template <
int dim,
int spacedim>
339std::pair<Table<2, bool>, std::vector<unsigned int>>
349#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 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 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
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
FE_Nothing(const ReferenceCell &type, const unsigned int n_components=1, const bool dominate=false)
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 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
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 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 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
std::string dim_string(const int dim, const int spacedim)