17 #include <deal.II/base/std_cxx14/memory.h> 19 #include <deal.II/fe/fe_nothing.h> 21 DEAL_II_NAMESPACE_OPEN
24 template <
int dim,
int spacedim>
44 template <
int dim,
int spacedim>
45 std::unique_ptr<FiniteElement<dim, spacedim>>
48 return std_cxx14::make_unique<FE_Nothing<dim, spacedim>>(*this);
53 template <
int dim,
int spacedim>
57 std::ostringstream namebuf;
58 namebuf <<
"FE_Nothing<" << dim <<
">(";
63 namebuf <<
", dominating";
66 namebuf <<
"dominating";
73 template <
int dim,
int spacedim>
82 template <
int dim,
int spacedim>
93 template <
int dim,
int spacedim>
94 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
106 return std_cxx14::make_unique<
112 template <
int dim,
int spacedim>
120 const ::internal::FEValuesImplementation::MappingRelatedData<dim,
133 template <
int dim,
int spacedim>
141 const ::internal::FEValuesImplementation::MappingRelatedData<dim,
154 template <
int dim,
int spacedim>
163 const ::internal::FEValuesImplementation::MappingRelatedData<dim,
176 template <
int dim,
int spacedim>
185 template <
int dim,
int spacedim>
199 return ((dominate == f_nothing->dominate) &&
200 (this->components == f_nothing->components));
207 template <
int dim,
int spacedim>
211 const unsigned int codim)
const 228 template <
int dim,
int spacedim>
229 std::vector<std::pair<unsigned int, unsigned int>>
237 return std::vector<std::pair<unsigned int, unsigned int>>();
241 template <
int dim,
int spacedim>
242 std::vector<std::pair<unsigned int, unsigned int>>
250 return std::vector<std::pair<unsigned int, unsigned int>>();
254 template <
int dim,
int spacedim>
255 std::vector<std::pair<unsigned int, unsigned int>>
263 return std::vector<std::pair<unsigned int, unsigned int>>();
267 template <
int dim,
int spacedim>
276 template <
int dim,
int spacedim>
284 (void)interpolation_matrix;
286 Assert(interpolation_matrix.
m() == 0,
288 Assert(interpolation_matrix.
n() == 0,
294 template <
int dim,
int spacedim>
302 (void)interpolation_matrix;
304 Assert(interpolation_matrix.
m() == 0,
306 Assert(interpolation_matrix.
n() == 0,
311 template <
int dim,
int spacedim>
321 (void)interpolation_matrix;
322 Assert(interpolation_matrix.
m() == 0,
324 Assert(interpolation_matrix.
n() == 0,
331 #include "fe_nothing.inst" 334 DEAL_II_NAMESPACE_CLOSE
bool is_dominating() const
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
virtual double shape_value(const unsigned int i, const Point< dim > &p) const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source_fe, FullMatrix< double > &interpolation_matrix) const override
virtual void get_interpolation_matrix(const FiniteElement< dim, spacedim > &source_fe, FullMatrix< double > &interpolation_matrix) const override
virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) const override
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source_fe, const unsigned int index, FullMatrix< double > &interpolation_matrix) const override
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
static ::ExceptionBase & ExcMessage(std::string arg1)
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
#define Assert(cond, exc)
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
virtual bool hp_constraints_are_implemented() const override
Abstract base class for mapping classes.
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
virtual std::string get_name() const override
virtual bool operator==(const FiniteElement< dim, spacedim > &fe) const override
FE_Nothing(const unsigned int n_components=1, const bool dominate=false)
unsigned int n_components(const DoFHandler< dim, spacedim > &dh)