From cf00c0194f3a765a3a7a109deacb92b35b50c924 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 9 Jun 2021 21:24:09 +0200 Subject: [PATCH] Fix tutorials with MappingQ --- examples/step-32/doc/intro.dox | 6 +----- examples/step-32/step-32.cc | 4 +--- examples/step-34/step-34.cc | 4 ++-- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/examples/step-32/doc/intro.dox b/examples/step-32/doc/intro.dox index 023636ef5a..c030c65876 100644 --- a/examples/step-32/doc/intro.dox +++ b/examples/step-32/doc/intro.dox @@ -635,11 +635,7 @@ program if we are already using higher order finite elements for the velocity. Consequently, we will introduce a member variable of type MappingQ that denotes such a mapping (step-10 and step-11 introduce such mappings -for the first time) and that we will use in all computations on cells -that are adjacent to the boundary. Since this only affects a -relatively small fraction of cells, the additional effort is not very -large and we will take the luxury of using a quartic mapping for these -cells. +for the first time) and that we will use in all computations.

Parallelization on clusters

diff --git a/examples/step-32/step-32.cc b/examples/step-32/step-32.cc index 462cfa4d60..3562caa8a9 100644 --- a/examples/step-32/step-32.cc +++ b/examples/step-32/step-32.cc @@ -815,9 +815,7 @@ namespace Step32 // // - The mapping variable is used to denote a higher-order // polynomial mapping. As mentioned in the introduction, we use this - // mapping when forming integrals through quadrature for all cells that - // are adjacent to either the inner or outer boundaries of our domain - // where the boundary is curved. + // mapping when forming integrals through quadrature for all cells. // // - In a bit of naming confusion, you will notice below that some of the // variables from namespace TrilinosWrappers are taken from namespace diff --git a/examples/step-34/step-34.cc b/examples/step-34/step-34.cc index 83dfcdde67..d8ab9e2539 100644 --- a/examples/step-34/step-34.cc +++ b/examples/step-34/step-34.cc @@ -229,7 +229,7 @@ namespace Step34 // examples. // // The class is constructed in a way to allow for arbitrary order of - // approximation of both the domain (through high order mapping) and the + // approximation of both the domain (through high order mappings) and the // finite element space. The order of the finite element space and of the // mapping can be selected in the constructor of the class. @@ -315,7 +315,7 @@ namespace Step34 const unsigned int mapping_degree) : fe(fe_degree) , dof_handler(tria) - , mapping(mapping_degree, true) + , mapping(mapping_degree) , wind(dim) , singular_quadrature_order(5) , n_cycles(4) -- 2.39.5