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)
65 std::make_pair(
std::make_pair(0U, 0U), 0U))
75 nonzero_c.
size() == 1 ?
82 return n_components != 1U;
83 }) == n_nonzero_components_table.end())
85 Assert(restriction_is_additive_flags.size() == this->n_dofs_per_cell(),
87 this->n_dofs_per_cell()));
89 for (
unsigned int i = 0; i < nonzero_components.size(); ++i)
91 Assert(nonzero_components[i].
size() == this->n_components(),
93 Assert(nonzero_components[i].n_selected_components() >= 1,
96 Assert(n_nonzero_components_table[i] <= this->n_components(),
103 if (this->is_primitive())
105 system_to_component_table.resize(this->n_dofs_per_cell());
106 for (
unsigned int j = 0; j < this->n_dofs_per_cell(); ++j)
107 system_to_component_table[j] = std::pair<unsigned, unsigned>(0, j);
109 face_system_to_component_table.resize(this->n_unique_faces());
110 for (
unsigned int f = 0; f < this->n_unique_faces(); ++f)
112 face_system_to_component_table[f].resize(this->n_dofs_per_face(f));
113 for (
unsigned int j = 0; j < this->n_dofs_per_face(f); ++j)
114 face_system_to_component_table[f][j] =
115 std::pair<unsigned, unsigned>(0, j);
119 for (
unsigned int j = 0; j < this->n_dofs_per_cell(); ++j)
120 system_to_base_table[j] = std::make_pair(std::make_pair(0U, 0U), j);
122 face_system_to_base_table.resize(this->n_unique_faces());
123 for (
unsigned int f = 0; f < this->n_unique_faces(); ++f)
125 face_system_to_base_table[f].resize(this->n_dofs_per_face(f));
126 for (
unsigned int j = 0; j < this->n_dofs_per_face(f); ++j)
127 face_system_to_base_table[f][j] =
128 std::make_pair(std::make_pair(0U, 0U), j);
132 base_to_block_indices.reinit(1, 1);
138 for (
const unsigned int ref_case :
142 prolongation[ref_case - 1].resize(this->
reference_cell().n_children(
145 restriction[ref_case - 1].resize(this->
reference_cell().n_children(
153 adjust_quad_dof_index_for_face_orientation_table.resize(
154 this->n_unique_2d_subobjects());
156 for (
unsigned int f = 0; f < this->n_unique_2d_subobjects(); ++f)
158 adjust_quad_dof_index_for_face_orientation_table[f] =
161 adjust_quad_dof_index_for_face_orientation_table[f].fill(0);
165 unit_face_support_points.resize(this->n_unique_faces());
166 generalized_face_support_points.resize(this->n_unique_faces());
171template <
int dim,
int spacedim>
172std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
unsigned int>
175 return {this->clone(), multiplicity};
180template <
int dim,
int spacedim>
185 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
191template <
int dim,
int spacedim>
195 const unsigned int)
const
197 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
203template <
int dim,
int spacedim>
208 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
214template <
int dim,
int spacedim>
218 const unsigned int)
const
220 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
226template <
int dim,
int spacedim>
231 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
237template <
int dim,
int spacedim>
242 const unsigned int)
const
244 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
250template <
int dim,
int spacedim>
255 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
261template <
int dim,
int spacedim>
266 const unsigned int)
const
268 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
274template <
int dim,
int spacedim>
279 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
285template <
int dim,
int spacedim>
290 const unsigned int)
const
292 AssertThrow(
false, ExcUnitShapeValuesDoNotExist());
297template <
int dim,
int spacedim>
300 const bool isotropic_restriction_only,
301 const bool isotropic_prolongation_only)
303 for (
const unsigned int ref_case :
307 const unsigned int nc =
310 for (
unsigned int i = 0; i < nc; ++i)
312 if (this->restriction[ref_case - 1][i].m() !=
313 this->n_dofs_per_cell() &&
314 (!isotropic_restriction_only ||
316 this->restriction[ref_case - 1][i].reinit(
317 this->n_dofs_per_cell(), this->n_dofs_per_cell());
318 if (this->prolongation[ref_case - 1][i].m() !=
319 this->n_dofs_per_cell() &&
320 (!isotropic_prolongation_only ||
322 this->prolongation[ref_case - 1][i].reinit(
323 this->n_dofs_per_cell(), this->n_dofs_per_cell());
329template <
int dim,
int spacedim>
332 const unsigned int child,
339 "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!"));
372 Assert(prolongation[refinement_case - 1][child].n() ==
373 this->n_dofs_per_cell(),
375 return prolongation[refinement_case - 1][child];
380template <
int dim,
int spacedim>
383 const unsigned int index)
const
387 return first_block_of_base(component_to_base_table[index].
first.first) +
388 component_to_base_table[
index].second;
392template <
int dim,
int spacedim>
404 std::vector<bool>
mask(this->n_components(),
false);
410template <
int dim,
int spacedim>
416 this->n_components());
423 std::vector<bool>
mask(this->n_components(),
false);
432template <
int dim,
int spacedim>
439 this->n_components());
446 std::vector<bool>
mask(this->n_components(),
false);
457template <
int dim,
int spacedim>
468 std::vector<bool> component_mask(this->n_components(),
false);
469 for (
unsigned int c = 0; c < this->n_components(); ++c)
470 if (block_mask[component_to_block_index(c)] ==
true)
471 component_mask[c] =
true;
478template <
int dim,
int spacedim>
485 return block_mask(component_mask(scalar));
489template <
int dim,
int spacedim>
496 return block_mask(component_mask(vector));
500template <
int dim,
int spacedim>
507 return block_mask(component_mask(sym_tensor));
512template <
int dim,
int spacedim>
533 std::vector<bool> block_mask(this->
n_blocks(),
false);
534 for (
unsigned int c = 0; c < this->n_components();)
536 const unsigned int block = component_to_block_index(c);
537 if (component_mask[c] ==
true)
538 block_mask[block] =
true;
544 while ((c < this->n_components()) &&
545 (component_to_block_index(c) == block))
547 Assert(component_mask[c] == block_mask[block],
549 "The component mask argument given to this function "
550 "is not a mask where the individual components belonging "
551 "to one block of the finite element are either all "
552 "selected or not selected. You can't call this function "
553 "with a component mask that splits blocks."));
564template <
int dim,
int spacedim>
567 const unsigned int face_index,
568 const unsigned int face,
569 const unsigned char combined_orientation)
const
578 if (combined_orientation !=
580 Assert((this->n_dofs_per_line() <= 1) && (this->n_dofs_per_quad(face) <= 1),
582 "The function in this base class can not handle this case. "
583 "Rather, the derived class you are using must provide "
584 "an overloaded version but apparently hasn't done so. See "
585 "the documentation of this function for more information."));
589 if (face_index < this->get_first_face_line_index(face))
594 const unsigned int face_vertex = face_index / this->n_dofs_per_vertex();
595 const unsigned int dof_index_on_vertex =
596 face_index % this->n_dofs_per_vertex();
601 face, face_vertex, combined_orientation) *
602 this->n_dofs_per_vertex() +
603 dof_index_on_vertex);
605 else if (face_index < this->get_first_face_quad_index(face))
610 const unsigned int index =
611 face_index - this->get_first_face_line_index(face);
613 const unsigned int face_line =
index / this->n_dofs_per_line();
614 const unsigned int dof_index_on_line =
index % this->n_dofs_per_line();
616 return (this->get_first_line_index() +
619 combined_orientation) *
620 this->n_dofs_per_line() +
629 const unsigned int index =
630 face_index - this->get_first_face_quad_index(face);
632 return (this->get_first_quad_index(face) + index);
638template <
int dim,
int spacedim>
641 const unsigned int index,
642 const unsigned int face,
643 const unsigned char combined_orientation)
const
663 const auto table_n = this->n_unique_2d_subobjects() == 1 ? 0 : face;
665 adjust_quad_dof_index_for_face_orientation_table[table_n].n_elements() ==
667 this->n_dofs_per_quad(face),
669 return index + adjust_quad_dof_index_for_face_orientation_table[table_n](
670 index, combined_orientation);
675template <
int dim,
int spacedim>
678 const unsigned int index,
679 const unsigned char combined_orientation)
const
681 Assert(combined_orientation ==
683 combined_orientation ==
688 Assert(adjust_line_dof_index_for_line_orientation_table.size() ==
689 this->n_dofs_per_line(),
691 if (combined_orientation ==
695 return index + adjust_line_dof_index_for_line_orientation_table[
index];
700template <
int dim,
int spacedim>
704 for (
const unsigned int ref_case :
707 for (unsigned
int c = 0;
713 Assert((prolongation[ref_case - 1][c].m() ==
714 this->n_dofs_per_cell()) ||
715 (prolongation[ref_case - 1][c].m() == 0),
717 Assert((prolongation[ref_case - 1][c].n() ==
718 this->n_dofs_per_cell()) ||
719 (prolongation[ref_case - 1][c].n() == 0),
721 if ((prolongation[ref_case - 1][c].m() == 0) ||
722 (prolongation[ref_case - 1][c].n() == 0))
730template <
int dim,
int spacedim>
734 for (
const unsigned int ref_case :
737 for (unsigned
int c = 0;
743 Assert((restriction[ref_case - 1][c].m() ==
744 this->n_dofs_per_cell()) ||
745 (restriction[ref_case - 1][c].m() == 0),
747 Assert((restriction[ref_case - 1][c].n() ==
748 this->n_dofs_per_cell()) ||
749 (restriction[ref_case - 1][c].n() == 0),
751 if ((restriction[ref_case - 1][c].m() == 0) ||
752 (restriction[ref_case - 1][c].n() == 0))
760template <
int dim,
int spacedim>
767 for (
unsigned int c = 0;
773 Assert((prolongation[ref_case - 1][c].m() == this->n_dofs_per_cell()) ||
774 (prolongation[ref_case - 1][c].m() == 0),
776 Assert((prolongation[ref_case - 1][c].n() == this->n_dofs_per_cell()) ||
777 (prolongation[ref_case - 1][c].n() == 0),
779 if ((prolongation[ref_case - 1][c].m() == 0) ||
780 (prolongation[ref_case - 1][c].n() == 0))
788template <
int dim,
int spacedim>
795 for (
unsigned int c = 0;
801 Assert((restriction[ref_case - 1][c].m() == this->n_dofs_per_cell()) ||
802 (restriction[ref_case - 1][c].m() == 0),
804 Assert((restriction[ref_case - 1][c].n() == this->n_dofs_per_cell()) ||
805 (restriction[ref_case - 1][c].n() == 0),
807 if ((restriction[ref_case - 1][c].m() == 0) ||
808 (restriction[ref_case - 1][c].n() == 0))
816template <
int dim,
int spacedim>
823 unsigned int n_dofs_on_faces = 0;
826 n_dofs_on_faces += this->n_dofs_per_face(face_no);
828 return (n_dofs_on_faces == 0) || (interface_constraints.m() != 0);
836template <
int dim,
int spacedim>
845template <
int dim,
int spacedim>
853 [[maybe_unused]]
const unsigned int face_no = 0;
856 ExcMessage(
"Constraints for this element are only implemented "
857 "for the case that faces are refined isotropically "
858 "(which is always the case in 2d, and in 3d requires "
859 "that the neighboring cell of a coarse cell presents "
860 "exactly four children on the common face)."));
861 Assert((this->n_dofs_per_face(face_no) == 0) ||
862 (interface_constraints.m() != 0),
863 ExcMessage(
"The finite element for which you try to obtain "
864 "hanging node constraints does not appear to "
868 Assert((interface_constraints.m() == 0) && (interface_constraints.n() == 0),
869 ExcWrongInterfaceMatrixSize(interface_constraints.m(),
870 interface_constraints.n()));
872 return interface_constraints;
877template <
int dim,
int spacedim>
884 const unsigned int face_no = 0;
895 return {this->n_dofs_per_vertex() + 2 * this->n_dofs_per_line(),
896 this->n_dofs_per_face(face_no)};
905 5 * this->n_dofs_per_vertex() +
907 12 * this->n_dofs_per_line() +
909 4 * this->n_dofs_per_quad(face_no),
910 this->n_dofs_per_face(face_no)};
914 3 * this->n_dofs_per_vertex() +
915 9 * this->n_dofs_per_line() +
917 4 * this->n_dofs_per_quad(face_no),
918 this->n_dofs_per_face(face_no)};
930template <
int dim,
int spacedim>
946template <
int dim,
int spacedim>
951 const unsigned int)
const
963template <
int dim,
int spacedim>
969 const unsigned int)
const
981template <
int dim,
int spacedim>
982std::vector<std::pair<unsigned int, unsigned int>>
987 return std::vector<std::pair<unsigned int, unsigned int>>();
992template <
int dim,
int spacedim>
993std::vector<std::pair<unsigned int, unsigned int>>
998 return std::vector<std::pair<unsigned int, unsigned int>>();
1003template <
int dim,
int spacedim>
1004std::vector<std::pair<unsigned int, unsigned int>>
1007 const unsigned int)
const
1010 return std::vector<std::pair<unsigned int, unsigned int>>();
1015template <
int dim,
int spacedim>
1019 const unsigned int)
const
1027template <
int dim,
int spacedim>
1034 return ((
typeid(*
this) ==
typeid(f)) && (this->get_name() == f.
get_name()) &&
1042template <
int dim,
int spacedim>
1047 return !(*
this == f);
1052template <
int dim,
int spacedim>
1053const std::vector<Point<dim>> &
1068template <
int dim,
int spacedim>
1072 if (this->dofs_per_cell > 0)
1088template <
int dim,
int spacedim>
1089const std::vector<Point<dim>> &
1094 return ((generalized_support_points.empty()) ? unit_support_points :
1095 generalized_support_points);
1100template <
int dim,
int spacedim>
1104 if (this->dofs_per_cell > 0)
1105 return (get_generalized_support_points().
size() != 0);
1119template <
int dim,
int spacedim>
1125 ExcFEHasNoSupportPoints());
1131template <
int dim,
int spacedim>
1132const std::vector<
Point<dim - 1>> &
1134 const unsigned int face_no)
const
1140 Assert((unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no]
1142 (unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no]
1143 .
size() == this->n_dofs_per_face(face_no)),
1145 return unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no];
1150template <
int dim,
int spacedim>
1153 const unsigned int face_no)
const
1155 const unsigned int face_index = this->n_unique_faces() == 1 ? 0 : face_no;
1156 if (this->n_dofs_per_face(face_index) > 0)
1157 return (unit_face_support_points[face_index].
size() != 0);
1171template <
int dim,
int spacedim>
1174 const unsigned int index,
1175 const unsigned int face_no)
const
1178 Assert(unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no]
1179 .
size() == this->n_dofs_per_face(face_no),
1180 ExcFEHasNoSupportPoints());
1181 return unit_face_support_points[this->n_unique_faces() == 1 ? 0 : face_no]
1187template <
int dim,
int spacedim>
1190 const unsigned int)
const
1197template <
int dim,
int spacedim>
1203 const unsigned int n_total_components = this->n_components();
1204 Assert((n_total_components ==
mask.size()) || (
mask.size() == 0),
1205 ExcMessage(
"The given ComponentMask has the wrong size."));
1207 const unsigned int n_selected =
1208 mask.n_selected_components(n_total_components);
1210 ExcMessage(
"You need at least one selected component."));
1212 const unsigned int first_selected =
1213 mask.first_selected_component(n_total_components);
1217 for (
unsigned int c = 0; c < n_total_components; ++c)
1218 Assert((c < first_selected && (!mask[c])) ||
1219 (c >= first_selected && c < first_selected + n_selected &&
1221 (c >= first_selected + n_selected && !mask[c]),
1222 ExcMessage(
"Error: the given ComponentMask is not contiguous!"));
1225 return get_sub_fe(first_selected, n_selected);
1230template <
int dim,
int spacedim>
1233 const unsigned int first_component,
1234 const unsigned int n_selected_components)
const
1238 Assert(first_component == 0 && n_selected_components == this->n_components(),
1240 "You can only select a whole FiniteElement, not a part of one."));
1247template <
int dim,
int spacedim>
1248std::pair<Table<2, bool>, std::vector<unsigned int>>
1252 return std::pair<Table<2, bool>, std::vector<unsigned int>>(
1254 std::vector<unsigned int>(this->n_components()));
1259template <
int dim,
int spacedim>
1264 std::vector<double> &)
const
1266 Assert(has_generalized_support_points(),
1267 ExcMessage(
"The element for which you are calling the current "
1268 "function does not have generalized support points (see "
1269 "the glossary for a definition of generalized support "
1270 "points). Consequently, the current function can not "
1271 "be defined and is not implemented by the element."));
1277template <
int dim,
int spacedim>
1298template <
int dim,
int spacedim>
1299std::vector<unsigned int>
1301 const std::vector<ComponentMask> &nonzero_components)
1303 std::vector<unsigned int> retval(nonzero_components.size());
1304 for (
unsigned int i = 0; i < nonzero_components.size(); ++i)
1305 retval[i] = nonzero_components[i].n_selected_components();
1314template <
int dim,
int spacedim>
1315std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
1324 return get_data(flags,
1333template <
int dim,
int spacedim>
1334std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
1343 return get_data(flags,
1352template <
int dim,
int spacedim>
1356 const unsigned int face_no,
1369 fill_fe_face_values(cell,
1381template <
int dim,
int spacedim>
1385 const unsigned int ,
1399 ExcMessage(
"Use of a deprecated interface, please implement "
1400 "fill_fe_face_values taking a hp::QCollection argument"));
1406template <
int dim,
int spacedim>
1407std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
1416 return get_data(flags,
1425template <
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
virtual unsigned int face_to_cell_index(const unsigned int face_dof_index, const unsigned int face, const unsigned char combined_orientation=ReferenceCell::default_combined_face_orientation()) 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
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
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)
unsigned int adjust_quad_dof_index_for_face_orientation(const unsigned int index, const unsigned int face_no, const unsigned char combined_orientation) const
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
unsigned int adjust_line_dof_index_for_line_orientation(const unsigned int index, const unsigned char combined_orientation) const
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
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.
static constexpr unsigned char default_combined_face_orientation()
static constexpr unsigned char reversed_combined_line_orientation()
unsigned int size() const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#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.
#define DEAL_II_ASSERT_UNREACHABLE()
#define DEAL_II_NOT_IMPLEMENTED()
@ 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_v< T >, std::size_t > memory_consumption(const T &t)
constexpr const ReferenceCell Quadrilateral
constexpr const ReferenceCell Triangle
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