From 8214a3a4ad2f7ed8fc891edc76f19282289e7b38 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 20 Jun 2024 21:40:13 -0600 Subject: [PATCH] Really minor edit to step-89.cc. --- examples/step-89/step-89.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/step-89/step-89.cc b/examples/step-89/step-89.cc index b39ffb885c..8621149067 100644 --- a/examples/step-89/step-89.cc +++ b/examples/step-89/step-89.cc @@ -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 tria(MPI_COMM_WORLD); #else @@ -1721,7 +1721,7 @@ int main(int argc, char *argv[]) pcout << "Create DoFHandler..." << std::endl; DoFHandler dof_handler(tria); - dof_handler.distribute_dofs(FESystem(FE_DGQ(degree), dim + 1)); + dof_handler.distribute_dofs(FESystem(FE_DGQ(degree) ^ (dim + 1))); pcout << " - Number of DoFs: " << dof_handler.n_dofs() << std::endl; AffineConstraints constraints; -- 2.39.5