From: Bruno Blais Date: Mon, 12 Feb 2024 03:47:48 +0000 (-0500) Subject: Add adequate usage of colorize X-Git-Tag: relicensing~48^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3929b324f76c5a069699a9fb1e26bf421ee59138;p=dealii.git Add adequate usage of colorize --- diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 5082ba34eb..4f318e01a2 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -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