Skip to content

Commit

Permalink
Compile
Browse files Browse the repository at this point in the history
  • Loading branch information
fdrmrc committed Oct 7, 2024
1 parent 9999db8 commit 1c2f117
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/simplex_agglomerated_multigrid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ AgglomeratedMultigridSimplex<dim>::make_fine_grid(
{
Triangulation<dim> tria_hex;
GridGenerator::hyper_cube(tria_hex, 0., 1.);
tria_hex.refine_global(4);
tria_hex.refine_global(2);
GridGenerator::convert_hypercube_to_simplex_mesh(tria_hex, tria);
}
else
Expand Down Expand Up @@ -463,7 +463,7 @@ AgglomeratedMultigridSimplex<dim>::agglomerate_and_compute_level_matrices()
if (level > 0)
{
smoother_data[level].smoothing_range = 20.; // 15.;
smoother_data[level].degree = 4; // 5;
smoother_data[level].degree = 5; // 5;
smoother_data[level].eig_cg_n_iterations = 20;
}
else
Expand Down
5 changes: 3 additions & 2 deletions include/poly_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,8 @@ namespace dealii::PolyUtils
std::vector<types::global_dof_index> output_dof_indices(fe.dofs_per_cell);

Quadrature<dim> quad(fe.get_unit_support_points());
FEValues<dim, spacedim> output_fe_values(fe,
FEValues<dim, spacedim> output_fe_values(mapping,
fe,
quad,
update_quadrature_points);

Expand Down Expand Up @@ -1929,7 +1930,7 @@ namespace dealii::PolyUtils
std::is_same_v<MatrixType,
SparseMatrix<typename MatrixType::value_type>>));

Assert(dynamic_cast<const FE_SimplexDGP<dim> *>(&fe_dg),
Assert((dynamic_cast<const FE_SimplexDGP<dim> *>(&fe_dg) != nullptr),
DEAL_II_NOT_IMPLEMENTED());

Assert(dof_handler.get_triangulation().all_reference_cells_are_simplex(),
Expand Down

0 comments on commit 1c2f117

Please sign in to comment.