Skip to content

Commit

Permalink
fix compiling with newest deal.II master
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhei committed Jul 7, 2023
1 parent 2f4efb8 commit 6eb090d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/heating_model/compositional_heating.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace aspect
{
// Compute compositional volume fractions
const std::vector<double> volume_fractions = MaterialModel::MaterialUtilities::compute_composition_fractions(material_model_inputs.composition[q],
fields_used_in_heat_production_averaging);
ComponentMask(fields_used_in_heat_production_averaging));

// Calculate average compositional heat production
double compositional_heat_production = 0.;
Expand Down
4 changes: 2 additions & 2 deletions source/simulator/core.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ namespace aspect
p.first,
vel,
constraints,
mask);
ComponentMask(mask));
}
else
{
Expand All @@ -1368,7 +1368,7 @@ namespace aspect
p.first,
Functions::ZeroFunction<dim>(introspection.n_components),
constraints,
mask);
ComponentMask(mask));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion source/simulator/stokes_matrix_free.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2388,7 +2388,7 @@ namespace aspect
Assert (false, ExcInternalError());
}
}
mg_constrained_dofs_A_block.make_zero_boundary_constraints(dof_handler_v, {bdryid}, mask);
mg_constrained_dofs_A_block.make_zero_boundary_constraints(dof_handler_v, {bdryid}, ComponentMask(mask));
}
else
{
Expand Down

0 comments on commit 6eb090d

Please sign in to comment.