Assert(matrix.n() == dof.n_dofs(),
ExcDimensionMismatch(matrix.n(), dof.n_dofs()));
- hp::FECollection<dim, spacedim> fe_collection(dof.get_fe());
- hp::QCollection<dim> q_collection(q);
+ const auto & fe_collection = dof.get_fe_collection();
+ hp::QCollection<dim> q_collection(q);
hp::MappingCollection<dim, spacedim> mapping_collection(mapping);
MatrixCreator::internal::AssemblerData::Scratch<dim, spacedim, number>
assembler_data(fe_collection,
Assert(matrix.n() == dof.n_dofs(),
ExcDimensionMismatch(matrix.n(), dof.n_dofs()));
- hp::FECollection<dim, spacedim> fe_collection(dof.get_fe());
- hp::QCollection<dim> q_collection(q);
+ const auto & fe_collection = dof.get_fe_collection();
+ hp::QCollection<dim> q_collection(q);
hp::MappingCollection<dim, spacedim> mapping_collection(mapping);
MatrixCreator::internal::AssemblerData::Scratch<dim, spacedim, number>
assembler_data(fe_collection,
Assert(matrix.n() == dof.n_dofs(),
ExcDimensionMismatch(matrix.n(), dof.n_dofs()));
- hp::FECollection<dim, spacedim> fe_collection(dof.get_fe());
- hp::QCollection<dim> q_collection(q);
+ const auto & fe_collection = dof.get_fe_collection();
+ hp::QCollection<dim> q_collection(q);
hp::MappingCollection<dim, spacedim> mapping_collection(mapping);
MatrixCreator::internal::AssemblerData::Scratch<dim, spacedim, double>
assembler_data(fe_collection,
Assert(matrix.n() == dof.n_dofs(),
ExcDimensionMismatch(matrix.n(), dof.n_dofs()));
- hp::FECollection<dim, spacedim> fe_collection(dof.get_fe());
- hp::QCollection<dim> q_collection(q);
+ const auto & fe_collection = dof.get_fe_collection();
+ hp::QCollection<dim> q_collection(q);
hp::MappingCollection<dim, spacedim> mapping_collection(mapping);
MatrixCreator::internal::AssemblerData::Scratch<dim, spacedim, double>
assembler_data(fe_collection,