Skip to content

Commit

Permalink
Remove unnecessary argument
Browse files Browse the repository at this point in the history
  • Loading branch information
fdrmrc committed Aug 17, 2024
1 parent 63617d6 commit d82c18b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 2 additions & 6 deletions examples/matrix_free_agglo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,8 @@ AgglomeratedMG<dim>::agglomerate_and_compute_level_matrices()

// Start defining agglomerated quantities
const unsigned int total_tree_levels =
PolyUtils::construct_agglomerated_levels(tria_pft,
agglomeration_handlers,
fe_dg,
degree_finite_element,
mapping,
starting_level);
PolyUtils::construct_agglomerated_levels(
tria_pft, agglomeration_handlers, fe_dg, mapping, starting_level);

// Start the multigrid setup

Expand Down
5 changes: 2 additions & 3 deletions include/poly_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,6 @@ namespace dealii::PolyUtils
std::vector<std::unique_ptr<AgglomerationHandler<dim>>>
&agglomeration_handlers,
const FE_DGQ<dim> &fe_dg,
const unsigned int degree_finite_element,
const Mapping<dim> &mapping,
const unsigned int starting_tree_level)
{
Expand Down Expand Up @@ -1298,10 +1297,10 @@ namespace dealii::PolyUtils
->define_agglomerate(cells_per_subdomain[i]);

agglomeration_handlers[extraction_level - starting_tree_level]
->initialize_fe_values(QGauss<dim>(degree_finite_element + 1),
->initialize_fe_values(QGauss<dim>(fe_dg.degree + 1),
update_values | update_gradients |
update_JxW_values | update_quadrature_points,
QGauss<dim - 1>(degree_finite_element + 1),
QGauss<dim - 1>(fe_dg.degree + 1),
update_JxW_values);
agglomeration_handlers[extraction_level - starting_tree_level]
->distribute_agglomerated_dofs(fe_dg);
Expand Down

0 comments on commit d82c18b

Please sign in to comment.