Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
3e52fcc3
Commit
3e52fcc3
authored
12 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
move experimental options to Advanced tab
parent
e11ab19d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Fltk/optionWindow.cpp
+24
-23
24 additions, 23 deletions
Fltk/optionWindow.cpp
with
24 additions
and
23 deletions
Fltk/optionWindow.cpp
+
24
−
23
View file @
3e52fcc3
...
...
@@ -1283,7 +1283,7 @@ optionWindow::optionWindow(int deltaFontSize)
FL_NORMAL_SIZE
-=
deltaFontSize
;
int
width
=
34
*
FL_NORMAL_SIZE
+
WB
;
int
height
=
1
4
*
BH
+
4
*
WB
;
int
height
=
1
2
*
BH
+
4
*
WB
;
int
L
=
7
*
FL_NORMAL_SIZE
;
win
=
new
paletteWindow
...
...
@@ -2184,47 +2184,34 @@ optionWindow::optionWindow(int deltaFontSize)
mesh
.
butt
[
21
]
->
type
(
FL_TOGGLE_BUTTON
);
mesh
.
butt
[
21
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
butt
[
22
]
=
new
Fl_Check_Button
(
L
+
2
*
WB
,
2
*
WB
+
5
*
BH
,
BW
,
BH
,
"Recombine all tets into (dominant) hex meshes"
);
mesh
.
butt
[
22
]
->
type
(
FL_TOGGLE_BUTTON
);
mesh
.
butt
[
22
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
choice
[
5
]
=
new
Fl_Choice
(
L
+
2
*
WB
,
2
*
WB
+
6
*
BH
,
IW
,
BH
,
"Subdivision algorithm"
);
(
L
+
2
*
WB
,
2
*
WB
+
5
*
BH
,
IW
,
BH
,
"Subdivision algorithm"
);
mesh
.
choice
[
5
]
->
menu
(
menu_subdivision_algo
);
mesh
.
choice
[
5
]
->
align
(
FL_ALIGN_RIGHT
);
mesh
.
choice
[
5
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
choice
[
8
]
=
new
Fl_Choice
(
L
+
2
*
WB
,
2
*
WB
+
7
*
BH
,
IW
,
BH
,
"Remeshing algorithm"
);
(
L
+
2
*
WB
,
2
*
WB
+
6
*
BH
,
IW
,
BH
,
"Remeshing algorithm"
);
mesh
.
choice
[
8
]
->
menu
(
menu_remeshing_algo
);
mesh
.
choice
[
8
]
->
align
(
FL_ALIGN_RIGHT
);
mesh
.
choice
[
8
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
choice
[
9
]
=
new
Fl_Choice
(
L
+
2
*
WB
,
2
*
WB
+
8
*
BH
,
IW
,
BH
,
"Remeshing parametrization"
);
(
L
+
2
*
WB
,
2
*
WB
+
7
*
BH
,
IW
,
BH
,
"Remeshing parametrization"
);
mesh
.
choice
[
9
]
->
menu
(
menu_remeshing_param
);
mesh
.
choice
[
9
]
->
align
(
FL_ALIGN_RIGHT
);
mesh
.
choice
[
9
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
value
[
0
]
=
new
Fl_Value_Input
(
L
+
2
*
WB
,
2
*
WB
+
9
*
BH
,
IW
,
BH
,
"Smoothing steps"
);
(
L
+
2
*
WB
,
2
*
WB
+
8
*
BH
,
IW
,
BH
,
"Smoothing steps"
);
mesh
.
value
[
0
]
->
minimum
(
0
);
mesh
.
value
[
0
]
->
maximum
(
100
);
mesh
.
value
[
0
]
->
step
(
1
);
mesh
.
value
[
0
]
->
align
(
FL_ALIGN_RIGHT
);
mesh
.
value
[
0
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
value
[
27
]
=
new
Fl_Value_Input
(
L
+
2
*
WB
,
2
*
WB
+
10
*
BH
,
IW
,
BH
,
"LLoyd Smoothing steps"
);
mesh
.
value
[
27
]
->
minimum
(
0
);
mesh
.
value
[
27
]
->
maximum
(
100
);
mesh
.
value
[
27
]
->
step
(
1
);
mesh
.
value
[
27
]
->
align
(
FL_ALIGN_RIGHT
);
mesh
.
value
[
27
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
value
[
2
]
=
new
Fl_Value_Input
(
L
+
2
*
WB
,
2
*
WB
+
11
*
BH
,
IW
,
BH
,
"Element size factor"
);
(
L
+
2
*
WB
,
2
*
WB
+
9
*
BH
,
IW
,
BH
,
"Element size factor"
);
mesh
.
value
[
2
]
->
minimum
(
0.001
);
mesh
.
value
[
2
]
->
maximum
(
1000
);
mesh
.
value
[
2
]
->
step
(
0.01
);
...
...
@@ -2232,17 +2219,17 @@ optionWindow::optionWindow(int deltaFontSize)
mesh
.
value
[
2
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
value
[
25
]
=
new
Fl_Value_Input
(
L
+
2
*
WB
,
2
*
WB
+
1
2
*
BH
,
IW
/
2
,
BH
);
(
L
+
2
*
WB
,
2
*
WB
+
1
0
*
BH
,
IW
/
2
,
BH
);
mesh
.
value
[
25
]
->
align
(
FL_ALIGN_RIGHT
);
mesh
.
value
[
25
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
value
[
26
]
=
new
Fl_Value_Input
(
L
+
2
*
WB
+
IW
/
2
,
2
*
WB
+
1
2
*
BH
,
IW
/
2
,
BH
,
"Min/Max element size"
);
(
L
+
2
*
WB
+
IW
/
2
,
2
*
WB
+
1
0
*
BH
,
IW
/
2
,
BH
,
"Min/Max element size"
);
mesh
.
value
[
26
]
->
align
(
FL_ALIGN_RIGHT
);
mesh
.
value
[
26
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
value
[
3
]
=
new
Fl_Value_Input
(
L
+
2
*
WB
,
2
*
WB
+
1
3
*
BH
,
IW
/
3
,
BH
,
"Element order"
);
(
L
+
2
*
WB
,
2
*
WB
+
1
1
*
BH
,
IW
/
3
,
BH
,
"Element order"
);
mesh
.
value
[
3
]
->
minimum
(
1
);
mesh
.
value
[
3
]
->
maximum
(
2
);
mesh
.
value
[
3
]
->
step
(
1
);
...
...
@@ -2250,7 +2237,7 @@ optionWindow::optionWindow(int deltaFontSize)
mesh
.
value
[
3
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
butt
[
4
]
=
new
Fl_Check_Button
(
L
+
2
*
WB
+
IW
+
WB
/
2
,
2
*
WB
+
1
3
*
BH
,
BW
,
BH
,
"Use incomplete elements"
);
(
L
+
2
*
WB
+
IW
+
WB
/
2
,
2
*
WB
+
1
1
*
BH
,
BW
,
BH
,
"Use incomplete elements"
);
mesh
.
butt
[
4
]
->
type
(
FL_TOGGLE_BUTTON
);
mesh
.
butt
[
4
]
->
callback
(
mesh_options_ok_cb
);
...
...
@@ -2300,6 +2287,20 @@ optionWindow::optionWindow(int deltaFontSize)
mesh
.
butt
[
25
]
->
type
(
FL_TOGGLE_BUTTON
);
mesh
.
butt
[
25
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
butt
[
22
]
=
new
Fl_Check_Button
(
L
+
2
*
WB
,
2
*
WB
+
8
*
BH
,
BW
,
BH
,
"Recombine tets into hex-dom mesh (experimental)"
);
mesh
.
butt
[
22
]
->
type
(
FL_TOGGLE_BUTTON
);
mesh
.
butt
[
22
]
->
callback
(
mesh_options_ok_cb
);
mesh
.
value
[
27
]
=
new
Fl_Value_Input
(
L
+
2
*
WB
,
2
*
WB
+
9
*
BH
,
IW
/
2
,
BH
,
"LLoyd Smoothing steps (experimental)"
);
mesh
.
value
[
27
]
->
minimum
(
0
);
mesh
.
value
[
27
]
->
maximum
(
100
);
mesh
.
value
[
27
]
->
step
(
1
);
mesh
.
value
[
27
]
->
align
(
FL_ALIGN_RIGHT
);
mesh
.
value
[
27
]
->
callback
(
mesh_options_ok_cb
);
o
->
end
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment