typename MatrixFree<dim,LevelNumberType>::AdditionalData mg_additional_data;
mg_additional_data.tasks_parallel_scheme = MatrixFree<dim,LevelNumberType>::AdditionalData::partition_color;
mg_additional_data.level_mg_handler = level;
mg_additional_data.mapping_update_flags = update_gradients | update_JxW_values;
ConstraintMatrix level_constraints;
IndexSet relevant_dofs;
DoFTools::extract_locally_relevant_level_dofs(dof_handler, level,
relevant_dofs);
level_constraints.reinit(relevant_dofs);
level_constraints.add_lines(mg_constrained_dofs.get_boundary_indices(level));
level_constraints.close();
std::shared_ptr<MatrixFree<dim,LevelNumberType>> mg_level_data(new MatrixFree<dim,LevelNumberType>());
mg_level_data->reinit (mapping, dof_handler, level_constraints, quadrature_formula,
mg_additional_data);
On 14 May 2017, at 10:50, Daniel Arndt <daniel...@iwr.uni-heidelberg.de> wrote:
Denis,this is solved by https://github.com/dealii/dealii/pull/4376, isn't it?
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/zSC33HFN9AA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.