Skip to content

Commit

Permalink
Merge pull request #17158 from bangerth/89-2
Browse files Browse the repository at this point in the history
Really minor edit to step-89.cc.
  • Loading branch information
tjhei committed Jun 21, 2024
2 parents 40dcf97 + 8214a3a commit 421e3bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/step-89/step-89.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1699,8 +1699,8 @@ int main(int argc, char *argv[])
// Construct non-matching triangulation and fill non-matching boundary IDs.

// Similar to step-87, the minimum requirement of this tutorial is MPI.
// parallel::distributed::Triangulation is used if deal.II is configured
// with p4est. Otherwise parallel::shared::Triangulation is used.
// The parallel::distributed::Triangulation class is used if deal.II is
// configured with p4est. Otherwise parallel::shared::Triangulation is used.
#ifdef DEAL_II_WITH_P4EST
parallel::distributed::Triangulation<dim> tria(MPI_COMM_WORLD);
#else
Expand All @@ -1721,7 +1721,7 @@ int main(int argc, char *argv[])

pcout << "Create DoFHandler..." << std::endl;
DoFHandler<dim> dof_handler(tria);
dof_handler.distribute_dofs(FESystem<dim>(FE_DGQ<dim>(degree), dim + 1));
dof_handler.distribute_dofs(FESystem<dim>(FE_DGQ<dim>(degree) ^ (dim + 1)));
pcout << " - Number of DoFs: " << dof_handler.n_dofs() << std::endl;

AffineConstraints<Number> constraints;
Expand Down

0 comments on commit 421e3bc

Please sign in to comment.