Reference documentation for deal.II version 9.6.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
fe_system.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 1999 - 2024 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15#ifndef dealii_fe_system_h
16#define dealii_fe_system_h
17
18#include <deal.II/base/config.h>
19
20#include <deal.II/fe/fe.h>
21#include <deal.II/fe/fe_tools.h>
22
23#include <memory>
24#include <type_traits>
25#include <utility>
26#include <vector>
27
29
30// Forward declaration
31#ifndef DOXYGEN
32template <int dim, int spacedim>
33class FE_Enriched;
34#endif
35
206template <int dim, int spacedim = dim>
207class FESystem : public FiniteElement<dim, spacedim>
208{
209public:
214 FESystem() = delete;
215
247 const unsigned int n_elements);
248
256 const unsigned int n1,
258 const unsigned int n2);
259
267 const unsigned int n1,
269 const unsigned int n2,
271 const unsigned int n3);
272
280 const unsigned int n1,
282 const unsigned int n2,
284 const unsigned int n3,
286 const unsigned int n4);
287
295 const unsigned int n1,
297 const unsigned int n2,
299 const unsigned int n3,
301 const unsigned int n4,
303 const unsigned int n5);
304
490 FESystem(const std::vector<const FiniteElement<dim, spacedim> *> &fes,
491 const std::vector<unsigned int> &multiplicities);
492
493#if !defined(__INTEL_COMPILER) || __INTEL_COMPILER >= 1900
536 template <
537 class... FEPairs,
538 typename = enable_if_all_t<
539 (std::is_same_v<std::decay_t<FEPairs>,
540 std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
541 unsigned int>> ||
542 std::is_base_of_v<FiniteElement<dim, spacedim>,
543 std::decay_t<FEPairs>>)...>>
544 FESystem(FEPairs &&...fe_pairs);
545
559 const std::initializer_list<
560 std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>, unsigned int>>
561 &fe_systems);
562#endif
563
569
573 FESystem(FESystem<dim, spacedim> &&other_fe_system) noexcept
574 : FiniteElement<dim, spacedim>(std::move(other_fe_system))
575 , base_elements(std::move(other_fe_system.base_elements))
577 std::move(other_fe_system.generalized_support_points_index_table))
578 {}
579
583 virtual ~FESystem() override = default;
584
593 virtual std::string
594 get_name() const override;
595
596 virtual std::unique_ptr<FiniteElement<dim, spacedim>>
597 clone() const override;
598
599 virtual UpdateFlags
600 requires_update_flags(const UpdateFlags update_flags) const override;
601
602 // make variant with ComponentMask also available:
603 using FiniteElement<dim, spacedim>::get_sub_fe;
604
608 virtual const FiniteElement<dim, spacedim> &
609 get_sub_fe(const unsigned int first_component,
610 const unsigned int n_selected_components) const override;
611
624 virtual double
625 shape_value(const unsigned int i, const Point<dim> &p) const override;
626
635 virtual double
636 shape_value_component(const unsigned int i,
637 const Point<dim> &p,
638 const unsigned int component) const override;
639
654 virtual Tensor<1, dim>
655 shape_grad(const unsigned int i, const Point<dim> &p) const override;
656
665 virtual Tensor<1, dim>
666 shape_grad_component(const unsigned int i,
667 const Point<dim> &p,
668 const unsigned int component) const override;
669
685 virtual Tensor<2, dim>
686 shape_grad_grad(const unsigned int i, const Point<dim> &p) const override;
687
696 virtual Tensor<2, dim>
697 shape_grad_grad_component(const unsigned int i,
698 const Point<dim> &p,
699 const unsigned int component) const override;
700
715 virtual Tensor<3, dim>
716 shape_3rd_derivative(const unsigned int i,
717 const Point<dim> &p) const override;
718
727 virtual Tensor<3, dim>
728 shape_3rd_derivative_component(const unsigned int i,
729 const Point<dim> &p,
730 const unsigned int component) const override;
731
746 virtual Tensor<4, dim>
747 shape_4th_derivative(const unsigned int i,
748 const Point<dim> &p) const override;
749
758 virtual Tensor<4, dim>
759 shape_4th_derivative_component(const unsigned int i,
760 const Point<dim> &p,
761 const unsigned int component) const override;
762
774 virtual void
776 FullMatrix<double> &matrix) const override;
777
784 virtual const FiniteElement<dim, spacedim> &
785 base_element(const unsigned int index) const override;
786
791 virtual bool
792 has_support_on_face(const unsigned int shape_index,
793 const unsigned int face_index) const override;
794
818 virtual const FullMatrix<double> &
820 const unsigned int child,
821 const RefinementCase<dim> &refinement_case =
823
851 virtual const FullMatrix<double> &
853 const unsigned int child,
854 const RefinementCase<dim> &refinement_case =
856
888 virtual unsigned int
890 const unsigned int face_dof_index,
891 const unsigned int face,
892 const unsigned char combined_orientation =
894
898 virtual Point<dim>
899 unit_support_point(const unsigned int index) const override;
900
904 virtual Point<dim - 1>
905 unit_face_support_point(const unsigned int index,
906 const unsigned int face_no = 0) const override;
907
915 virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
916 get_constant_modes() const override;
917
930 virtual bool
932
945 virtual void
947 FullMatrix<double> &matrix,
948 const unsigned int face_no = 0) const override;
949
950
963 virtual void
965 const FiniteElement<dim, spacedim> &source,
966 const unsigned int subface,
967 FullMatrix<double> &matrix,
968 const unsigned int face_no = 0) const override;
969
985 virtual std::vector<std::pair<unsigned int, unsigned int>>
987 const FiniteElement<dim, spacedim> &fe_other) const override;
988
993 virtual std::vector<std::pair<unsigned int, unsigned int>>
995 const FiniteElement<dim, spacedim> &fe_other) const override;
996
1001 virtual std::vector<std::pair<unsigned int, unsigned int>>
1003 const unsigned int face_no = 0) const override;
1004
1010 const unsigned int codim = 0) const override final;
1011
1028 virtual void
1030 const std::vector<Vector<double>> &support_point_values,
1031 std::vector<double> &dof_values) const override;
1032
1041 virtual std::size_t
1042 memory_consumption() const override;
1043
1056 {
1061
1067 unsigned int in_index;
1068
1074 unsigned int out_index;
1075 };
1076
1077protected:
1078 virtual std::unique_ptr<
1081 const UpdateFlags update_flags,
1082 const Mapping<dim, spacedim> &mapping,
1083 const Quadrature<dim> &quadrature,
1085 spacedim>
1086 &output_data) const override;
1087
1088 using FiniteElement<dim, spacedim>::get_face_data;
1089
1090 virtual std::unique_ptr<
1093 const UpdateFlags update_flags,
1094 const Mapping<dim, spacedim> &mapping,
1095 const hp::QCollection<dim - 1> &quadrature,
1097 spacedim>
1098 &output_data) const override;
1099
1100 virtual std::unique_ptr<
1103 const UpdateFlags update_flags,
1104 const Mapping<dim, spacedim> &mapping,
1105 const Quadrature<dim - 1> &quadrature,
1107 spacedim>
1108 &output_data) const override;
1109
1110 virtual void
1113 const CellSimilarity::Similarity cell_similarity,
1114 const Quadrature<dim> &quadrature,
1115 const Mapping<dim, spacedim> &mapping,
1116 const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
1118 &mapping_data,
1119 const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
1121 spacedim>
1122 &output_data) const override;
1123
1124 using FiniteElement<dim, spacedim>::fill_fe_face_values;
1125
1126 virtual void
1129 const unsigned int face_no,
1130 const hp::QCollection<dim - 1> &quadrature,
1131 const Mapping<dim, spacedim> &mapping,
1132 const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
1134 &mapping_data,
1135 const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
1137 spacedim>
1138 &output_data) const override;
1139
1140 virtual void
1143 const unsigned int face_no,
1144 const unsigned int sub_no,
1145 const Quadrature<dim - 1> &quadrature,
1146 const Mapping<dim, spacedim> &mapping,
1147 const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
1149 &mapping_data,
1150 const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
1152 spacedim>
1153 &output_data) const override;
1154
1165 template <class Q_or_QC>
1166 void
1168 const Mapping<dim, spacedim> &mapping,
1170 const unsigned int face_no,
1171 const unsigned int sub_no,
1172 const Q_or_QC &quadrature,
1173 const CellSimilarity::Similarity cell_similarity,
1174 const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
1175 const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_data,
1177 &mapping_data,
1179 &output_data) const;
1180
1181private:
1186
1196 std::vector<Table<2, unsigned int>> primitive_offset_tables;
1197
1201 std::vector<std::vector<BaseOffsets>> nonprimitive_offset_tables;
1202
1210 std::vector<std::pair<std::unique_ptr<const FiniteElement<dim, spacedim>>,
1211 unsigned int>>
1213
1226 std::vector<std::vector<std::size_t>> generalized_support_points_index_table;
1227
1233 void
1234 initialize(const std::vector<const FiniteElement<dim, spacedim> *> &fes,
1235 const std::vector<unsigned int> &multiplicities);
1236
1240 void
1242
1248 template <int structdim>
1249 std::vector<std::pair<unsigned int, unsigned int>>
1251 const unsigned int face_no = 0) const;
1252
1259 class InternalData : public FiniteElement<dim, spacedim>::InternalDataBase
1260 {
1261 public:
1266 InternalData(const unsigned int n_base_elements);
1267
1272 ~InternalData() override;
1273
1278 void
1280 const unsigned int base_no,
1281 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>);
1282
1288 get_fe_data(const unsigned int base_no) const;
1289
1296 get_fe_output_object(const unsigned int base_no) const;
1297
1298 private:
1309 typename std::vector<
1310 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>>
1312
1321 mutable std::vector<
1324 };
1325
1330 mutable std::mutex restriction_matrix_mutex;
1331 mutable std::mutex prolongation_matrix_mutex;
1332
1333 friend class FE_Enriched<dim, spacedim>;
1334};
1335
1336//------------------------variadic template constructor------------------------
1337
1338#ifndef DOXYGEN
1339namespace internal
1340{
1341 namespace FESystemImplementation
1342 {
1343 template <int dim, int spacedim>
1344 unsigned int
1345 count_nonzeros(
1346 const std::initializer_list<
1347 std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>, unsigned int>>
1348 &fe_systems)
1349 {
1350 return std::count_if(
1351 fe_systems.begin(),
1352 fe_systems.end(),
1353 [](const std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
1354 unsigned int> &fe_system) {
1355 return fe_system.second > 0;
1356 });
1357 }
1358
1359
1360
1361 template <int dim, int spacedim>
1362 std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>, unsigned int>
1363 promote_to_fe_pair(const FiniteElement<dim, spacedim> &fe)
1364 {
1365 return std::make_pair(std::move(fe.clone()), 1u);
1366 }
1367
1368
1369
1370 template <int dim, int spacedim>
1371 auto
1372 promote_to_fe_pair(std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
1373 unsigned int> &&p)
1374 -> decltype(std::forward<
1375 std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
1376 unsigned int>>(p))
1377 {
1378 return std::forward<
1379 std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>, unsigned int>>(
1380 p);
1381 }
1382 } // namespace FESystemImplementation
1383} // namespace internal
1384
1385
1386
1387# if !defined(__INTEL_COMPILER) || __INTEL_COMPILER >= 1900
1388// We are just forwarding/delegating to the constructor taking a
1389// std::initializer_list. If we decide to remove the deprecated constructors, we
1390// might just use the variadic constructor with a suitable static_assert instead
1391// of the std::enable_if.
1392template <int dim, int spacedim>
1393template <class... FEPairs, typename>
1394FESystem<dim, spacedim>::FESystem(FEPairs &&...fe_pairs)
1395 : FESystem<dim, spacedim>(
1396 {internal::FESystemImplementation::promote_to_fe_pair<dim, spacedim>(
1397 std::forward<FEPairs>(fe_pairs))...})
1398{}
1399
1400
1401
1402template <int dim, int spacedim>
1404 const std::initializer_list<
1405 std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>, unsigned int>>
1406 &fe_systems)
1407 : FiniteElement<dim, spacedim>(
1408 FETools::Compositing::multiply_dof_numbers<dim, spacedim>(fe_systems),
1410 spacedim>(
1411 fe_systems),
1412 FETools::Compositing::compute_nonzero_components<dim, spacedim>(
1413 fe_systems))
1414 , base_elements(internal::FESystemImplementation::count_nonzeros(fe_systems))
1415{
1416 std::vector<const FiniteElement<dim, spacedim> *> fes;
1417 std::vector<unsigned int> multiplicities;
1418
1419 const auto extract =
1420 [&fes, &multiplicities](
1421 const std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
1422 unsigned int> &fe_system) {
1423 fes.push_back(fe_system.first.get());
1424 multiplicities.push_back(fe_system.second);
1425 };
1426
1427 for (const auto &p : fe_systems)
1428 extract(p);
1429
1430 initialize(fes, multiplicities);
1431}
1432# endif
1433#endif // DOXYGEN
1434
1436
1437#endif
void set_fe_data(const unsigned int base_no, std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase >)
InternalData(const unsigned int n_base_elements)
std::vector< std::unique_ptr< typename FiniteElement< dim, spacedim >::InternalDataBase > > base_fe_datas
Definition fe_system.h:1311
std::vector< internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > > base_fe_output_objects
Definition fe_system.h:1323
FiniteElement< dim, spacedim >::InternalDataBase & get_fe_data(const unsigned int base_no) const
internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > & get_fe_output_object(const unsigned int base_no) const
std::mutex restriction_matrix_mutex
Definition fe_system.h:1330
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
FESystem(const std::initializer_list< std::pair< std::unique_ptr< FiniteElement< dim, spacedim > >, unsigned int > > &fe_systems)
virtual Tensor< 2, dim > shape_grad_grad(const unsigned int i, const Point< dim > &p) const override
FESystem(const FESystem< dim, spacedim > &)=delete
virtual const FiniteElement< dim, spacedim > & base_element(const unsigned int index) const override
FESystem(FEPairs &&...fe_pairs)
FESystem()=delete
virtual Point< dim > unit_support_point(const unsigned int index) const override
std::vector< std::vector< BaseOffsets > > nonprimitive_offset_tables
Definition fe_system.h:1201
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
std::vector< std::pair< std::unique_ptr< const FiniteElement< dim, spacedim > >, unsigned int > > base_elements
Definition fe_system.h:1212
virtual Tensor< 3, dim > shape_3rd_derivative(const unsigned int i, const Point< dim > &p) const override
std::vector< Table< 2, unsigned int > > primitive_offset_tables
Definition fe_system.h:1196
virtual std::string get_name() const override
virtual const FullMatrix< double > & get_prolongation_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const override
virtual const FiniteElement< dim, spacedim > & get_sub_fe(const unsigned int first_component, const unsigned int n_selected_components) const override
FESystem(const FiniteElement< dim, spacedim > &fe1, const unsigned int n1, const FiniteElement< dim, spacedim > &fe2, const unsigned int n2, const FiniteElement< dim, spacedim > &fe3, const unsigned int n3)
virtual Tensor< 1, dim > shape_grad_component(const unsigned int i, const Point< dim > &p, const unsigned int component) const override
virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) 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_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::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
void compute_fill(const Mapping< dim, spacedim > &mapping, const typename Triangulation< dim, spacedim >::cell_iterator &cell, const unsigned int face_no, const unsigned int sub_no, const Q_or_QC &quadrature, const CellSimilarity::Similarity cell_similarity, const typename Mapping< dim, spacedim >::InternalDataBase &mapping_internal, const typename FiniteElement< dim, spacedim >::InternalDataBase &fe_data, const internal::FEValuesImplementation::MappingRelatedData< dim, spacedim > &mapping_data, internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const
virtual Tensor< 3, dim > shape_3rd_derivative_component(const unsigned int i, const Point< dim > &p, const unsigned int component) const override
virtual const FullMatrix< double > & get_restriction_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const override
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
virtual void get_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const override
virtual Tensor< 1, dim > shape_grad(const unsigned int i, const Point< dim > &p) const override
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
FESystem(const std::vector< const FiniteElement< dim, spacedim > * > &fes, const std::vector< unsigned int > &multiplicities)
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual std::unique_ptr< typename FiniteElement< dim, spacedim >::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 override
static const unsigned int invalid_face_number
Definition fe_system.h:1185
virtual bool hp_constraints_are_implemented() const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
FESystem(const FiniteElement< dim, spacedim > &fe1, const unsigned int n1, const FiniteElement< dim, spacedim > &fe2, const unsigned int n2, const FiniteElement< dim, spacedim > &fe3, const unsigned int n3, const FiniteElement< dim, spacedim > &fe4, const unsigned int n4, const FiniteElement< dim, spacedim > &fe5, const unsigned int n5)
void build_interface_constraints()
virtual Tensor< 4, dim > shape_4th_derivative_component(const unsigned int i, const Point< dim > &p, const unsigned int component) const override
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 override
virtual Point< dim - 1 > unit_face_support_point(const unsigned int index, const unsigned int face_no=0) const override
void initialize(const std::vector< const FiniteElement< dim, spacedim > * > &fes, const std::vector< unsigned int > &multiplicities)
virtual void convert_generalized_support_point_values_to_dof_values(const std::vector< Vector< double > > &support_point_values, std::vector< double > &dof_values) const override
std::vector< std::pair< unsigned int, unsigned int > > hp_object_dof_identities(const FiniteElement< dim, spacedim > &fe_other, const unsigned int face_no=0) const
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 double shape_value_component(const unsigned int i, const Point< dim > &p, const unsigned int component) const override
virtual double shape_value(const unsigned int i, const Point< dim > &p) const override
FESystem(const FiniteElement< dim, spacedim > &fe1, const unsigned int n1, const FiniteElement< dim, spacedim > &fe2, const unsigned int n2, const FiniteElement< dim, spacedim > &fe3, const unsigned int n3, const FiniteElement< dim, spacedim > &fe4, const unsigned int n4)
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 override
virtual Tensor< 2, dim > shape_grad_grad_component(const unsigned int i, const Point< dim > &p, const unsigned int component) const override
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
FESystem(const FiniteElement< dim, spacedim > &fe, const unsigned int n_elements)
std::vector< std::vector< std::size_t > > generalized_support_points_index_table
Definition fe_system.h:1226
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
FESystem(FESystem< dim, spacedim > &&other_fe_system) noexcept
Definition fe_system.h:573
std::mutex prolongation_matrix_mutex
Definition fe_system.h:1331
virtual std::size_t memory_consumption() const override
virtual ~FESystem() override=default
FESystem(const FiniteElement< dim, spacedim > &fe1, const unsigned int n1, const FiniteElement< dim, spacedim > &fe2, const unsigned int n2)
virtual Tensor< 4, dim > shape_4th_derivative(const unsigned int i, const Point< dim > &p) const override
virtual std::unique_ptr< typename FiniteElement< dim, spacedim >::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 override
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const =0
unsigned int n_base_elements() const
friend class InternalDataBase
Definition fe.h:3075
Abstract base class for mapping classes.
Definition mapping.h:318
Definition point.h:111
static constexpr unsigned char default_combined_face_orientation()
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504
UpdateFlags
std::vector< ComponentMask > compute_nonzero_components(const std::vector< const FiniteElement< dim, spacedim > * > &fes, const std::vector< unsigned int > &multiplicities, const bool do_tensor_product=true)
std::vector< bool > compute_restriction_is_additive_flags(const std::vector< const FiniteElement< dim, spacedim > * > &fes, const std::vector< unsigned int > &multiplicities)
FiniteElementData< dim > multiply_dof_numbers(const std::vector< const FiniteElement< dim, spacedim > * > &fes, const std::vector< unsigned int > &multiplicities, const bool do_tensor_product=true)
constexpr ReturnType< rank, T >::value_type & extract(T &t, const ArrayType &indices)
static const unsigned int invalid_unsigned_int
Definition types.h:220
STL namespace.
unsigned int n_nonzero_components
Definition fe_system.h:1060
unsigned int out_index
Definition fe_system.h:1074
unsigned int in_index
Definition fe_system.h:1067
typename enable_if_all< Values... >::type enable_if_all_t