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>
156template <
int dim,
int spacedim>
175template <
int dim,
int spacedim>
195template <
int dim,
int spacedim>
204template <
int dim,
int spacedim>
208 const unsigned int codim)
const
226template <
int dim,
int spacedim>
227std::vector<std::pair<unsigned int, unsigned int>>
235 return std::vector<std::pair<unsigned int, unsigned int>>();
239template <
int dim,
int spacedim>
240std::vector<std::pair<unsigned int, unsigned int>>
248 return std::vector<std::pair<unsigned int, unsigned int>>();
252template <
int dim,
int spacedim>
253std::vector<std::pair<unsigned int, unsigned int>>
256 const unsigned int)
const
262 return std::vector<std::pair<unsigned int, unsigned int>>();
266template <
int dim,
int spacedim>
275template <
int dim,
int spacedim>
283 (void)interpolation_matrix;
287 Assert(interpolation_matrix.
n() == 0,
293template <
int dim,
int spacedim>
298 const unsigned int)
const
302 (void)interpolation_matrix;
304 Assert(interpolation_matrix.
m() == 0,
306 Assert(interpolation_matrix.
n() == 0,
312template <
int dim,
int spacedim>
318 const unsigned int)
const
323 (void)interpolation_matrix;
324 Assert(interpolation_matrix.
m() == 0,
326 Assert(interpolation_matrix.
n() == 0,
332template <
int dim,
int spacedim>
333std::pair<Table<2, bool>, std::vector<unsigned int>>
343#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
std::string dim_string(const int dim, const int spacedim)