From: Wolfgang Bangerth Date: Fri, 21 Jun 2024 03:40:13 +0000 (-0600) Subject: Really minor edit to step-89.cc. X-Git-Tag: v9.6.0-rc1~172^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17158%2Fhead;p=dealii.git Really minor edit to step-89.cc. --- 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;