Skip to content
Snippets Groups Projects
Commit d1f7f147 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

nicer

parent 2231d559
Branches
Tags
No related merge requests found
...@@ -47,17 +47,17 @@ Field[1].F = "2.5"; ...@@ -47,17 +47,17 @@ Field[1].F = "2.5";
Background Field = 1; Background Field = 1;
DefineConstant[ DefineConstant[
funny = {0, Choices{0,1}, Name "Apply funny mesh size field?"}, funny = {0, Choices{0,1},
hide = {0, Choices{0,1}, Name "Hide compound sub-entities"} Name "Parameters/Apply funny mesh size field?"},
hide = {Geometry.HideCompounds, Choices{0,1},
AutoCheck 0, GmshOption "Geometry.HideCompounds",
Name "Parameters/Hide compound sub-entities"}
]; ];
If(funny) If(funny)
Field[1].F = "2*Sin((x+y)/5) + 3"; Field[1].F = "2*Sin((x+y)/5) + 3";
EndIf EndIf
DefineConstant[ ];
Mesh.RemeshAlgorithm = 1; // automatic Mesh.RemeshAlgorithm = 1; // automatic
Mesh.RemeshParametrization = 7; // conformal finite element Mesh.RemeshParametrization = 7; // conformal finite element
Geometry.HideCompounds = hide; // hide the compound sub-entities?
Mesh.Algorithm = 6; // Frontal Mesh.Algorithm = 6; // Frontal
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment