From 97c36dc8926a21288d3f95798bd4f10b2101b388 Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Thu, 2 Feb 2017 14:07:16 +0000 Subject: [PATCH] parameter added --- benchmarks/boolean/wikipedia.geo | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/benchmarks/boolean/wikipedia.geo b/benchmarks/boolean/wikipedia.geo index 716ede956a..4f5adcff16 100644 --- a/benchmarks/boolean/wikipedia.geo +++ b/benchmarks/boolean/wikipedia.geo @@ -4,9 +4,9 @@ Mesh.Algorithm = 6; Mesh.CharacteristicLengthMin = 0.4; Mesh.CharacteristicLengthMax = 0.4; -R = 1.4; -s = .7; -t = 1.25; +R = DefineNumber[ 1.4 , Name "Parameters/Dimension of the Block" ]; +s = DefineNumber[ .7 , Name "Parameters/Cylinder of radius s *R" ]; +t = DefineNumber[ 1.25, Name "Parameters/Sphere of radius t *R" ]; Block(1) = {-R,-R,-R, R,R,R}; @@ -21,3 +21,5 @@ Cylinder(6) = {0,0,-2*R, 0,0,2*R, R*s}; BooleanUnion(7) = { Volume{4}; Delete; }{ Volume{5}; Delete; }; BooleanUnion(8) = { Volume{6}; Delete; }{ Volume{7}; Delete; }; BooleanSubtraction(9) = { Volume{3}; Delete; }{ Volume{8}; Delete; }; + + -- GitLab