40template <
int dim,
int spacedim>
47template <
int dim,
int spacedim>
56template <
int dim,
int spacedim>
59 const std::vector<bool> & r_i_a_f,
60 const std::vector<ComponentMask> &nonzero_c)
66 std::make_pair(
std::make_pair(0U, 0U), 0U))
76 nonzero_c.size() == 1 ?
83 return n_components != 1U;
84 }) == n_nonzero_components_table.end())
86 Assert(restriction_is_additive_flags.size() == this->n_dofs_per_cell(),
88 this->n_dofs_per_cell()));
90 for (
unsigned int i = 0; i < nonzero_components.size(); ++i)
92 Assert(nonzero_components[i].size() == this->n_components(),
94 Assert(nonzero_components[i].n_selected_components() >= 1,
97 Assert(n_nonzero_components_table[i] <= this->n_components(),
104 if (this->is_primitive())
106 system_to_component_table.resize(this->n_dofs_per_cell());
107 for (
unsigned int j = 0; j < this->n_dofs_per_cell(); ++j)
108 system_to_component_table[j] = std::pair<unsigned, unsigned>(0, j);
110 face_system_to_component_table.resize(this->n_unique_faces());
111 for (
unsigned int f = 0; f < this->n_unique_faces(); ++f)
113 face_system_to_component_table[f].resize(this->n_dofs_per_face(f));
114 for (
unsigned int j = 0; j < this->n_dofs_per_face(f); ++j)
115 face_system_to_component_table[f][j] =
116 std::pair<unsigned, unsigned>(0, j);
120 for (
unsigned int j = 0; j < this->n_dofs_per_cell(); ++j)
121 system_to_base_table[j] = std::make_pair(std::make_pair(0U, 0U), j);
123 face_system_to_base_table.resize(this->n_unique_faces());
124 for (
unsigned int f = 0; f < this->n_unique_faces(); ++f)
126 face_system_to_base_table[f].resize(this->n_dofs_per_face(f));
127 for (
unsigned int j = 0; j < this->n_dofs_per_face(f); ++j)
128 face_system_to_base_table[f][j] =
129 std::make_pair(std::make_pair(0U, 0U), j);
133 base_to_block_indices.reinit(1, 1);
140 ref < RefinementCase<dim>::isotropic_refinement + 1;
154 adjust_quad_dof_index_for_face_orientation_table.resize(
155 this->n_unique_2d_subobjects());
157 for (
unsigned int f = 0; f < this->n_unique_2d_subobjects(); ++f)
159 adjust_quad_dof_index_for_face_orientation_table[f] =
162 adjust_quad_dof_index_for_face_orientation_table[f].fill(0);
166 unit_face_support_points.resize(this->n_unique_faces());
167 generalized_face_support_points.resize(this->n_unique_faces());
172template <
int dim,
int spacedim>
173std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
unsigned int>
176 return {this->clone(), multiplicity};
181template <
int dim,
int spacedim>
186 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
192template <
int dim,
int spacedim>
196 const unsigned int)
const
198 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
204template <
int dim,
int spacedim>
209 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
215template <
int dim,
int spacedim>
219 const unsigned int)
const
221 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
227template <
int dim,
int spacedim>
232 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
238template <
int dim,
int spacedim>
243 const unsigned int)
const
245 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
251template <
int dim,
int spacedim>
256 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
262template <
int dim,
int spacedim>
267 const unsigned int)
const
269 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
275template <
int dim,
int spacedim>
280 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
286template <
int dim,
int spacedim>
291 const unsigned int)
const
293 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
298template <
int dim,
int spacedim>
301 const bool isotropic_restriction_only,
302 const bool isotropic_prolongation_only)
305 ref_case <= RefinementCase<dim>::isotropic_refinement;
308 const unsigned int nc =
311 for (
unsigned int i = 0; i < nc; ++i)
313 if (this->restriction[ref_case - 1][i].m() !=
314 this->n_dofs_per_cell() &&
315 (!isotropic_restriction_only ||
317 this->restriction[ref_case - 1][i].reinit(this->n_dofs_per_cell(),
318 this->n_dofs_per_cell());
319 if (this->prolongation[ref_case - 1][i].m() !=
320 this->n_dofs_per_cell() &&
321 (!isotropic_prolongation_only ||
323 this->prolongation[ref_case - 1][i].reinit(this->n_dofs_per_cell(),
324 this->n_dofs_per_cell());
330template <
int dim,
int spacedim>
333 const unsigned int child,
340 "Restriction matrices are only available for refined cells!"));
346 Assert(restriction[refinement_case - 1][child].n() == this->n_dofs_per_cell(),
347 ExcProjectionVoid());
348 return restriction[refinement_case - 1][child];
353template <
int dim,
int spacedim>
356 const unsigned int child,
363 "Prolongation matrices are only available for refined cells!"));
371 Assert(prolongation[refinement_case - 1][child].n() ==
372 this->n_dofs_per_cell(),
374 return prolongation[refinement_case - 1][child];
379template <
int dim,
int spacedim>
382 const unsigned int index)
const
386 return first_block_of_base(component_to_base_table[index].
first.first) +
387 component_to_base_table[
index].second;
391template <
int dim,
int spacedim>
403 std::vector<bool>
mask(this->n_components(),
false);
409template <
int dim,
int spacedim>
415 this->n_components());
422 std::vector<bool>
mask(this->n_components(),
false);
431template <
int dim,
int spacedim>
438 this->n_components());
445 std::vector<bool>
mask(this->n_components(),
false);
456template <
int dim,
int spacedim>
467 std::vector<bool> component_mask(this->n_components(),
false);
468 for (
unsigned int c = 0; c < this->n_components(); ++c)
469 if (block_mask[component_to_block_index(c)] ==
true)
470 component_mask[c] =
true;
472 return component_mask;
477template <
int dim,
int spacedim>
484 return block_mask(component_mask(scalar));
488template <
int dim,
int spacedim>
495 return block_mask(component_mask(vector));
499template <
int dim,
int spacedim>
506 return block_mask(component_mask(sym_tensor));
511template <
int dim,
int spacedim>
532 std::vector<bool> block_mask(this->
n_blocks(),
false);
533 for (
unsigned int c = 0; c < this->n_components();)
535 const unsigned int block = component_to_block_index(c);
536 if (component_mask[c] ==
true)
537 block_mask[block] =
true;
543 while ((c < this->n_components()) &&
544 (component_to_block_index(c) == block))
546 Assert(component_mask[c] == block_mask[block],
548 "The component mask argument given to this function "
549 "is not a mask where the individual components belonging "
550 "to one block of the finite element are either all "
551 "selected or not selected. You can't call this function "
552 "with a component mask that splits blocks."));
563template <
int dim,
int spacedim>
566 const unsigned int face,
567 const bool face_orientation,
568 const bool face_flip,
569 const bool face_rotation)
const
587 if ((face_orientation !=
true) || (face_flip !=
false) ||
588 (face_rotation !=
false))
589 Assert((this->n_dofs_per_line() <= 1) && (this->n_dofs_per_quad(face) <= 1),
591 "The function in this base class can not handle this case. "
592 "Rather, the derived class you are using must provide "
593 "an overloaded version but apparently hasn't done so. See "
594 "the documentation of this function for more information."));
598 if (face_index < this->get_first_face_line_index(face))
603 const unsigned int face_vertex = face_index / this->n_dofs_per_vertex();
604 const unsigned int dof_index_on_vertex =
605 face_index % this->n_dofs_per_vertex();
612 (face_orientation ? 1 : 0) + (face_rotation ? 2 : 0) +
613 (face_flip ? 4 : 0)) *
614 this->n_dofs_per_vertex() +
615 dof_index_on_vertex);
617 else if (face_index < this->get_first_face_quad_index(face))
622 const unsigned int index =
623 face_index - this->get_first_face_line_index(face);
625 const unsigned int face_line =
index / this->n_dofs_per_line();
626 const unsigned int dof_index_on_line =
index % this->n_dofs_per_line();
629 this->get_first_line_index() +
632 (face_orientation ? 1 : 0) +
633 (face_rotation ? 2 : 0) +
634 (face_flip ? 4 : 0)) *
635 this->n_dofs_per_line() +
644 const unsigned int index =
645 face_index - this->get_first_face_quad_index(face);
647 return (this->get_first_quad_index(face) + index);
653template <
int dim,
int spacedim>
656 const unsigned int index,
657 const unsigned int face,
658 const bool face_orientation,
659 const bool face_flip,
660 const bool face_rotation)
const
680 const auto table_n = this->n_unique_2d_subobjects() == 1 ? 0 : face;
682 adjust_quad_dof_index_for_face_orientation_table[table_n].n_elements() ==
684 this->n_dofs_per_quad(face),
686 return index + adjust_quad_dof_index_for_face_orientation_table[table_n](
688 (face_orientation ? 4 : 0) + (face_flip ? 2 : 0) +
689 (face_rotation ? 1 : 0));
694template <
int dim,
int spacedim>
697 const unsigned int index,
698 const bool line_orientation)
const
708 Assert(adjust_line_dof_index_for_line_orientation_table.size() ==
709 this->n_dofs_per_line(),
711 if (line_orientation)
714 return index + adjust_line_dof_index_for_line_orientation_table[
index];
719template <
int dim,
int spacedim>
724 ref_case < RefinementCase<dim>::isotropic_refinement + 1;
726 for (
unsigned int c = 0;
732 Assert((prolongation[ref_case - 1][c].m() == this->n_dofs_per_cell()) ||
733 (prolongation[ref_case - 1][c].m() == 0),
735 Assert((prolongation[ref_case - 1][c].n() == this->n_dofs_per_cell()) ||
736 (prolongation[ref_case - 1][c].n() == 0),
738 if ((prolongation[ref_case - 1][c].m() == 0) ||
739 (prolongation[ref_case - 1][c].n() == 0))
747template <
int dim,
int spacedim>
752 ref_case < RefinementCase<dim>::isotropic_refinement + 1;
754 for (
unsigned int c = 0;
760 Assert((restriction[ref_case - 1][c].m() == this->n_dofs_per_cell()) ||
761 (restriction[ref_case - 1][c].m() == 0),
763 Assert((restriction[ref_case - 1][c].n() == this->n_dofs_per_cell()) ||
764 (restriction[ref_case - 1][c].n() == 0),
766 if ((restriction[ref_case - 1][c].m() == 0) ||
767 (restriction[ref_case - 1][c].n() == 0))
775template <
int dim,
int spacedim>
782 for (
unsigned int c = 0;
788 Assert((prolongation[ref_case - 1][c].m() == this->n_dofs_per_cell()) ||
789 (prolongation[ref_case - 1][c].m() == 0),
791 Assert((prolongation[ref_case - 1][c].n() == this->n_dofs_per_cell()) ||
792 (prolongation[ref_case - 1][c].n() == 0),
794 if ((prolongation[ref_case - 1][c].m() == 0) ||
795 (prolongation[ref_case - 1][c].n() == 0))
803template <
int dim,
int spacedim>
810 for (
unsigned int c = 0;
816 Assert((restriction[ref_case - 1][c].m() == this->n_dofs_per_cell()) ||
817 (restriction[ref_case - 1][c].m() == 0),
819 Assert((restriction[ref_case - 1][c].n() == this->n_dofs_per_cell()) ||
820 (restriction[ref_case - 1][c].n() == 0),
822 if ((restriction[ref_case - 1][c].m() == 0) ||
823 (restriction[ref_case - 1][c].n() == 0))
831template <
int dim,
int spacedim>
838 unsigned int n_dofs_on_faces = 0;
841 n_dofs_on_faces += this->n_dofs_per_face(face_no);
843 return (n_dofs_on_faces == 0) || (interface_constraints.m() != 0);
851template <
int dim,
int spacedim>
860template <
int dim,
int spacedim>
868 const unsigned int face_no = 0;
873 ExcMessage(
"Constraints for this element are only implemented "
874 "for the case that faces are refined isotropically "
875 "(which is always the case in 2d, and in 3d requires "
876 "that the neighboring cell of a coarse cell presents "
877 "exactly four children on the common face)."));
878 Assert((this->n_dofs_per_face(face_no) == 0) ||
879 (interface_constraints.m() != 0),
880 ExcMessage(
"The finite element for which you try to obtain "
881 "hanging node constraints does not appear to "
885 Assert((interface_constraints.m() == 0) && (interface_constraints.n() == 0),
886 ExcWrongInterfaceMatrixSize(interface_constraints.m(),
887 interface_constraints.n()));
889 return interface_constraints;
894template <
int dim,
int spacedim>
901 const unsigned int face_no = 0;
908 return {this->n_dofs_per_vertex() + 2 * this->n_dofs_per_line(),
909 this->n_dofs_per_face(face_no)};
911 return {5 * this->n_dofs_per_vertex() + 12 * this->n_dofs_per_line() +
912 4 * this->n_dofs_per_quad(face_no),
913 this->n_dofs_per_face(face_no)};
922template <
int dim,
int spacedim>
938template <
int dim,
int spacedim>
943 const unsigned int)
const
955template <
int dim,
int spacedim>
961 const unsigned int)
const
973template <
int dim,
int spacedim>
974std::vector<std::pair<unsigned int, unsigned int>>
979 return std::vector<std::pair<unsigned int, unsigned int>>();
984template <
int dim,
int spacedim>
985std::vector<std::pair<unsigned int, unsigned int>>
990 return std::vector<std::pair<unsigned int, unsigned int>>();
995template <
int dim,
int spacedim>
996std::vector<std::pair<unsigned int, unsigned int>>
999 const unsigned int)
const
1002 return std::vector<std::pair<unsigned int, unsigned int>>();
1007template <
int dim,
int spacedim>
1011 const unsigned int)
const
1019template <
int dim,
int spacedim>
1026 return ((
typeid(*
this) ==
typeid(f)) && (this->get_name() == f.
get_name()) &&
1034template <
int dim,
int spacedim>
1039 return !(*
this == f);
1044template <
int dim,
int spacedim>
1045const std::vector<Point<dim>> &
1060template <
int dim,
int spacedim>
1069template <
int dim,
int spacedim>
1070const std::vector<Point<dim>> &
1075 return ((generalized_support_points.size() == 0) ?
1076 unit_support_points :
1077 generalized_support_points);
1082template <
int dim,
int spacedim>
1086 return (get_generalized_support_points().size() != 0);
1091template <
int dim,
int spacedim>
1097 ExcFEHasNoSupportPoints());
1103template <
int dim,
int spacedim>
1104const std::vector<
Point<dim - 1>> &
1106 const unsigned int face_no)
const
1112 Assert((unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no]
1114 (unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no]
1115 .size() == this->n_dofs_per_face(face_no)),
1117 return unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no];
1122template <
int dim,
int spacedim>
1125 const unsigned int face_no)
const
1127 return (unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no]
1133template <
int dim,
int spacedim>
1136 const unsigned int index,
1137 const unsigned int face_no)
const
1140 Assert(unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no]
1141 .size() == this->n_dofs_per_face(face_no),
1142 ExcFEHasNoSupportPoints());
1143 return unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no]
1149template <
int dim,
int spacedim>
1152 const unsigned int)
const
1159template <
int dim,
int spacedim>
1165 const unsigned int n_total_components = this->n_components();
1166 Assert((n_total_components ==
mask.size()) || (
mask.size() == 0),
1167 ExcMessage(
"The given ComponentMask has the wrong size."));
1169 const unsigned int n_selected =
1170 mask.n_selected_components(n_total_components);
1172 ExcMessage(
"You need at least one selected component."));
1174 const unsigned int first_selected =
1175 mask.first_selected_component(n_total_components);
1179 for (
unsigned int c = 0; c < n_total_components; ++c)
1180 Assert((c < first_selected && (!mask[c])) ||
1181 (c >= first_selected && c < first_selected + n_selected &&
1183 (c >= first_selected + n_selected && !mask[c]),
1184 ExcMessage(
"Error: the given ComponentMask is not contiguous!"));
1187 return get_sub_fe(first_selected, n_selected);
1192template <
int dim,
int spacedim>
1195 const unsigned int first_component,
1196 const unsigned int n_selected_components)
const
1200 Assert(first_component == 0 && n_selected_components == this->n_components(),
1202 "You can only select a whole FiniteElement, not a part of one."));
1204 (void)first_component;
1205 (void)n_selected_components;
1211template <
int dim,
int spacedim>
1212std::pair<Table<2, bool>, std::vector<unsigned int>>
1216 return std::pair<Table<2, bool>, std::vector<unsigned int>>(
1218 std::vector<unsigned int>(this->n_components()));
1223template <
int dim,
int spacedim>
1228 std::vector<double> &)
const
1230 Assert(has_generalized_support_points(),
1231 ExcMessage(
"The element for which you are calling the current "
1232 "function does not have generalized support points (see "
1233 "the glossary for a definition of generalized support "
1234 "points). Consequently, the current function can not "
1235 "be defined and is not implemented by the element."));
1241template <
int dim,
int spacedim>
1262template <
int dim,
int spacedim>
1263std::vector<unsigned int>
1265 const std::vector<ComponentMask> &nonzero_components)
1267 std::vector<unsigned int> retval(nonzero_components.size());
1268 for (
unsigned int i = 0; i < nonzero_components.size(); ++i)
1269 retval[i] = nonzero_components[i].n_selected_components();
1278template <
int dim,
int spacedim>
1279std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
1288 return get_data(flags,
1297template <
int dim,
int spacedim>
1298std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
1307 return get_data(flags,
1316template <
int dim,
int spacedim>
1320 const unsigned int face_no,
1333 fill_fe_face_values(cell,
1345template <
int dim,
int spacedim>
1349 const unsigned int face_no,
1361 ExcMessage(
"Use of a deprecated interface, please implement "
1362 "fill_fe_face_values taking a hp::QCollection argument"));
1367 (void)mapping_internal;
1376template <
int dim,
int spacedim>
1377std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
1386 return get_data(flags,
1395template <
int dim,
int spacedim>
bool represents_the_all_selected_mask() const
unsigned int size() const
bool represents_the_all_selected_mask() const
unsigned int size() const
const unsigned int components
unsigned int n_dofs_per_cell() const
unsigned int n_dofs_per_line() const
unsigned int n_components() const
virtual std::size_t memory_consumption() const
bool constraints_are_implemented(const ::internal::SubfaceCase< dim > &subface_case=::internal::SubfaceCase< dim >::case_isotropic) const
bool isotropic_prolongation_is_implemented() const
virtual std::string get_name() const =0
virtual Point< dim > unit_support_point(const unsigned int index) const
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const
const std::vector< unsigned int > n_nonzero_components_table
virtual const FullMatrix< double > & get_restriction_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const
bool prolongation_is_implemented() const
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const
virtual const FiniteElement< dim, spacedim > & base_element(const unsigned int index) const
virtual Tensor< 1, dim > shape_grad(const unsigned int i, const Point< dim > &p) const
virtual std::unique_ptr< InternalDataBase > get_face_data(const UpdateFlags update_flags, const Mapping< dim, spacedim > &mapping, const hp::QCollection< dim - 1 > &quadrature, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const
virtual Point< dim - 1 > unit_face_support_point(const unsigned int index, const unsigned int face_no=0) const
static std::vector< unsigned int > compute_n_nonzero_components(const std::vector< ComponentMask > &nonzero_components)
virtual std::unique_ptr< InternalDataBase > get_subface_data(const UpdateFlags update_flags, const Mapping< dim, spacedim > &mapping, const Quadrature< dim - 1 > &quadrature, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const
bool has_face_support_points(const unsigned int face_no=0) const
const bool cached_primitivity
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
ComponentMask component_mask(const FEValuesExtractors::Scalar &scalar) const
bool operator!=(const FiniteElement< dim, spacedim > &) const
bool has_support_points() const
bool has_generalized_support_points() const
virtual Tensor< 2, dim > shape_grad_grad(const unsigned int i, const Point< dim > &p) const
virtual bool operator==(const FiniteElement< dim, spacedim > &fe) const
unsigned int adjust_line_dof_index_for_line_orientation(const unsigned int index, const bool line_orientation) const
const std::vector< Point< dim > > & get_unit_support_points() const
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 InternalDataBase &fe_internal, ::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const
void reinit_restriction_and_prolongation_matrices(const bool isotropic_restriction_only=false, const bool isotropic_prolongation_only=false)
const std::vector< Point< dim - 1 > > & get_unit_face_support_points(const unsigned int face_no=0) const
bool isotropic_restriction_is_implemented() const
std::vector< int > adjust_line_dof_index_for_line_orientation_table
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const
virtual unsigned int face_to_cell_index(const unsigned int face_dof_index, const unsigned int face, const bool face_orientation=true, const bool face_flip=false, const bool face_rotation=false) const
const FiniteElement< dim, spacedim > & get_sub_fe(const ComponentMask &mask) const
virtual Tensor< 4, dim > shape_4th_derivative_component(const unsigned int i, const Point< dim > &p, const unsigned int component) const
virtual double shape_value_component(const unsigned int i, const Point< dim > &p, const unsigned int component) const
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix, const unsigned int face_no=0) const
unsigned int component_to_block_index(const unsigned int component) const
BlockMask block_mask(const FEValuesExtractors::Scalar &scalar) const
virtual void get_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const
virtual Tensor< 3, dim > shape_3rd_derivative(const unsigned int i, const Point< dim > &p) const
std::vector< std::pair< std::pair< unsigned int, unsigned int >, unsigned int > > system_to_base_table
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
virtual void convert_generalized_support_point_values_to_dof_values(const std::vector< Vector< double > > &support_point_values, std::vector< double > &nodal_values) const
FiniteElement(const FiniteElementData< dim > &fe_data, const std::vector< bool > &restriction_is_additive_flags, const std::vector< ComponentMask > &nonzero_components)
virtual Tensor< 3, dim > shape_3rd_derivative_component(const unsigned int i, const Point< dim > &p, const unsigned int component) const
const FullMatrix< double > & constraints(const ::internal::SubfaceCase< dim > &subface_case=::internal::SubfaceCase< dim >::case_isotropic) const
std::pair< std::unique_ptr< FiniteElement< dim, spacedim > >, unsigned int > operator^(const unsigned int multiplicity) const
const std::vector< bool > restriction_is_additive_flags
std::vector< std::pair< std::pair< unsigned int, unsigned int >, unsigned int > > component_to_base_table
TableIndices< 2 > interface_constraints_size() const
virtual Tensor< 1, dim > shape_grad_component(const unsigned int i, const Point< dim > &p, const unsigned int component) const
bool restriction_is_implemented() const
FullMatrix< double > interface_constraints
const std::vector< Point< dim > > & get_generalized_support_points() const
virtual Tensor< 2, dim > shape_grad_grad_component(const unsigned int i, const Point< dim > &p, const unsigned int component) const
virtual const FullMatrix< double > & get_prolongation_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const
virtual double shape_value(const unsigned int i, const Point< dim > &p) const
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix, const unsigned int face_no=0) const
virtual std::size_t memory_consumption() const
virtual Tensor< 4, dim > shape_4th_derivative(const unsigned int i, const Point< dim > &p) const
unsigned int adjust_quad_dof_index_for_face_orientation(const unsigned int index, const unsigned int face_no, const bool face_orientation, const bool face_flip, const bool face_rotation) const
const std::vector< ComponentMask > nonzero_components
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
virtual bool hp_constraints_are_implemented() const
Abstract base class for mapping classes.
unsigned int size() const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
#define AssertDimension(dim1, dim2)
#define AssertIndexRange(index, range)
static ::ExceptionBase & ExcInternalError()
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
static ::ExceptionBase & ExcMessage(std::string arg1)
#define AssertThrow(cond, exc)
@ update_default
No update.
@ neither_element_dominates
void reference_cell(Triangulation< dim, spacedim > &tria, const ReferenceCell &reference_cell)
std::enable_if_t< IsBlockVector< VectorType >::value, unsigned int > n_blocks(const VectorType &vector)
std::enable_if_t< std::is_fundamental< T >::value, std::size_t > memory_consumption(const T &t)
VectorType::value_type * end(VectorType &V)
VectorType::value_type * begin(VectorType &V)
std::vector< Point< dim > > unit_support_points(const std::vector< Point< 1 > > &line_support_points, const std::vector< unsigned int > &renumbering)
static const unsigned int invalid_unsigned_int
static unsigned int n_children(const RefinementCase< dim > &refinement_case)