From aa7bf6de278632a1d1ed19efdd9d442437509bba Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 6 Sep 2007 16:12:26 +0000
Subject: [PATCH] example of 3d function field

---
 benchmarks/3d/function_field.geo | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 benchmarks/3d/function_field.geo

diff --git a/benchmarks/3d/function_field.geo b/benchmarks/3d/function_field.geo
new file mode 100644
index 0000000000..1ed4680ffe
--- /dev/null
+++ b/benchmarks/3d/function_field.geo
@@ -0,0 +1,16 @@
+
+lc = 0.5;
+Point(1) = {0, 0, 0, lc};
+Point(2) = {1, 0,  0, lc} ;
+Point(3) = {1, 1, 0, lc} ;
+Point(4) = {0, 1, 0, lc} ;
+Line(1) = {1,2} ;
+Line(2) = {3,2} ;
+Line(3) = {3,4} ;
+Line(4) = {4,1} ;
+Line Loop(5) = {4,1,-2,3} ;
+Plane Surface(6) = {5} ;
+Extrude {0,0,1} { Surface{6}; }
+
+Function Field(1) = "Cos(2*3.14*x)/5 + 0.21";
+Characteristic Length Field{1};
-- 
GitLab