From 3929b324f76c5a069699a9fb1e26bf421ee59138 Mon Sep 17 00:00:00 2001 From: Bruno Blais Date: Sun, 11 Feb 2024 22:47:48 -0500 Subject: [PATCH] Add adequate usage of colorize --- source/grid/grid_generator.cc | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5