]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make a 'Mapping' object 'const'. 17262/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 11 Jul 2024 17:38:35 +0000 (11:38 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 11 Jul 2024 17:38:35 +0000 (11:38 -0600)
examples/step-19/step-19.cc

index b282bb4f1a866e2bbc4f877e783d03aa8c667928..4bf55d477d2829e3912f30021bf19531e7c19f4b 100644 (file)
@@ -143,7 +143,7 @@ namespace Step19
     void output_results() const;
 
     Triangulation<dim>        triangulation;
-    MappingQ<dim>             mapping;
+    const MappingQ<dim>       mapping;
     const FE_Q<dim>           fe;
     DoFHandler<dim>           dof_handler;
     AffineConstraints<double> constraints;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.