From 4b300a24b52f6a424140130fc56573dfb919a18a Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 13 Nov 2017 21:00:57 +0100 Subject: [PATCH] don't compute crossfield --- Geo/discreteFace.cpp | 2 +- tutorial/t13.geo | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Geo/discreteFace.cpp b/Geo/discreteFace.cpp index cdeb7a0eed..adfe66b9b2 100644 --- a/Geo/discreteFace.cpp +++ b/Geo/discreteFace.cpp @@ -275,7 +275,7 @@ void discreteFace::createGeometry() df->replaceEdges(toParam[i]->my_GEdges); _atlas.push_back(df); } - complex_crossField(); + //complex_crossField(); #endif } diff --git a/tutorial/t13.geo b/tutorial/t13.geo index 8e20084e29..f70ec02c55 100644 --- a/tutorial/t13.geo +++ b/tutorial/t13.geo @@ -32,14 +32,10 @@ Volume(1) = {1}; // element size imposed by a size field Field[1] = MathEval; -Field[1].F = "2.0"; +Field[1].F = "1.5"; Background Field = 1; -DefineConstant[ - funny = {0, Choices{0,1}, - Name "Parameters/Apply funny mesh size field?"} -]; - +funny = DefineNumber[0, Choices{0,1}, Name "Parameters/Apply funny mesh size field?" ]; If(funny) Field[1].F = "2*Sin((x+y)/5) + 3"; EndIf -- GitLab