From 5b63e3685adb1d34b0fdf8d121d4a599af54b2a5 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 16 Apr 2006 19:20:42 +0000 Subject: [PATCH] *** empty log message *** --- benchmarks/1d/1d_discrete.geo | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/benchmarks/1d/1d_discrete.geo b/benchmarks/1d/1d_discrete.geo index 04703050bb..8bd3105862 100644 --- a/benchmarks/1d/1d_discrete.geo +++ b/benchmarks/1d/1d_discrete.geo @@ -9,13 +9,15 @@ cl=0.0999; // uncomment point 1 and 4 if you merge "1d_without_points.msh" //Point(1) = {0, 0, 0, cl}; -Point(2) = {0, 1, 0, cl}; -Point(3) = {1, 1, 0, cl}; //Point(4) = {1, 0, 0, cl}; -Line(1)={1,2}; -Line(2)={2,3}; -Line(3)={3,4}; +p = newp; +Point(p) = {0, 1, 0, cl}; +Point(p+1) = {1, 1, 0, cl}; + +Line(1)={1, p}; +Line(2)={p, p+1}; +Line(3)={p+1,4}; Line Loop(1) = {1,2,3,-4}; Plane Surface(1) = {1}; -- GitLab