]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add adequate usage of colorize
authorBruno Blais <blais.bruno@gmail.com>
Mon, 12 Feb 2024 03:47:48 +0000 (22:47 -0500)
committerBruno Blais <blais.bruno@gmail.com>
Mon, 12 Feb 2024 03:47:48 +0000 (22:47 -0500)
source/grid/grid_generator.cc

index 5082ba34eb74438f84704557210d986b35824cfd..4f318e01a2576c09503d805811b2bb9c7a712534 100644 (file)
@@ -6471,6 +6471,8 @@ namespace GridGenerator
     tria.set_all_manifold_ids(0);
     tria.set_manifold(0, CylindricalManifold<3>(2));
 
+    if (!colorize) return;
+
     // If colorize, set boundary id on the triangualtion.
     // Inner cylinder has boundary id 0
     // Outer cylinder has boundary id 1

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.