Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fdrmrc committed Sep 16, 2024
1 parent 89ac3a0 commit f57f111
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/poly_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -1091,9 +1091,9 @@ namespace dealii::PolyUtils
const FiniteElement<dim, spacedim> &original_fe =
agglomeration_handler.get_fe();

// We use DGQ nodal elements of the same degree as the ones in the
// agglomeration handler to generate the output also in the case in
// which different elements are used, such as DGP.
// We use DGQ (on tensor-product meshes) or DGP (on simplex meshes)
// nodal elements of the same degree as the ones in the agglomeration
// handler to interpolate the solution onto the finer grid.
std::unique_ptr<FiniteElement<dim>> output_fe;
if (tria.all_reference_cells_are_hyper_cube())
output_fe = std::make_unique<FE_DGQ<dim>>(original_fe.degree);
Expand Down

0 comments on commit f57f111

Please sign in to comment.