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
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Romin Tomasetti
gmsh
Commits
fad13778
Commit
fad13778
authored
12 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
use options from db in gui
parent
def1bd0c
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Common/DefaultOptions.h
+2
-2
2 additions, 2 deletions
Common/DefaultOptions.h
Fltk/highOrderToolsWindow.cpp
+3
-3
3 additions, 3 deletions
Fltk/highOrderToolsWindow.cpp
doc/texinfo/opt_mesh.texi
+2
-2
2 additions, 2 deletions
doc/texinfo/opt_mesh.texi
with
7 additions
and
7 deletions
Common/DefaultOptions.h
+
2
−
2
View file @
fad13778
...
...
@@ -959,14 +959,14 @@ StringXNumber MeshOptions_Number[] = {
{
F
|
O
,
"Hexahedra"
,
opt_mesh_hexahedra
,
1
.
,
"Display mesh hexahedra?"
},
{
F
|
0
,
"HighOrderNumLayers"
,
opt_mesh_ho_nlayers
,
3
.,
{
F
|
0
,
"HighOrderNumLayers"
,
opt_mesh_ho_nlayers
,
6
.,
"Number of high order mesh elements to consider for optimization"
},
{
F
|
O
,
"HighOrderOptimize"
,
opt_mesh_ho_optimize
,
0
.,
"Optimize high order meshes?"
},
{
F
|
0
,
"HighOrderPoissonRatio"
,
opt_mesh_ho_poisson
,
0
.
33
,
"Poisson ratio of the material used in the elastic smoother for high order meshes"
"Must be between -1.0 and 0.5, excluded"
},
{
F
|
O
,
"HighOrderThresholdMin"
,
opt_mesh_ho_threshold_min
,
0
.
2
,
{
F
|
O
,
"HighOrderThresholdMin"
,
opt_mesh_ho_threshold_min
,
0
.
1
,
"Minimum threshold for high order element optimization"
},
{
F
|
O
,
"HighOrderThresholdMax"
,
opt_mesh_ho_threshold_max
,
2
.
0
,
"Maximum threshold for high order element optimization"
},
...
...
This diff is collapsed.
Click to expand it.
Fltk/highOrderToolsWindow.cpp
+
3
−
3
View file @
fad13778
...
...
@@ -245,7 +245,7 @@ highOrderToolsWindow::highOrderToolsWindow(int deltaFontSize)
value
[
1
]
->
maximum
(
1
);
value
[
1
]
->
step
(
.01
);
value
[
1
]
->
align
(
FL_ALIGN_RIGHT
);
value
[
1
]
->
value
(
0.1
);
value
[
1
]
->
value
(
CTX
::
instance
()
->
mesh
.
hoThresholdMin
);
value
[
8
]
=
new
Fl_Value_Input
(
x
+
IW
/
2.0
,
y
,
IW
/
2.0
,
BH
,
"Target Jacobian range"
);
...
...
@@ -253,7 +253,7 @@ highOrderToolsWindow::highOrderToolsWindow(int deltaFontSize)
value
[
8
]
->
maximum
(
10
);
value
[
8
]
->
step
(
.01
);
value
[
8
]
->
align
(
FL_ALIGN_RIGHT
);
value
[
8
]
->
value
(
2
);
value
[
8
]
->
value
(
CTX
::
instance
()
->
mesh
.
hoThresholdMax
);
y
+=
BH
;
value
[
2
]
=
new
Fl_Value_Input
...
...
@@ -262,7 +262,7 @@ highOrderToolsWindow::highOrderToolsWindow(int deltaFontSize)
value
[
2
]
->
maximum
(
20
);
value
[
2
]
->
step
(
1
);
value
[
2
]
->
align
(
FL_ALIGN_RIGHT
);
value
[
2
]
->
value
(
6
);
value
[
2
]
->
value
(
CTX
::
instance
()
->
mesh
.
hoNLayers
);
y
+=
BH
;
value
[
7
]
=
new
Fl_Value_Input
...
...
This diff is collapsed.
Click to expand it.
doc/texinfo/opt_mesh.texi
+
2
−
2
View file @
fad13778
...
...
@@ -216,7 +216,7 @@ Saved in: @code{General.OptionsFileName}
@item Mesh.HighOrderNumLayers
Number of high order mesh elements to consider for optimization@*
Default value: @code{
3
}@*
Default value: @code{
6
}@*
Saved in: @code{-}
@item Mesh.HighOrderOptimize
...
...
@@ -231,7 +231,7 @@ Saved in: @code{-}
@item Mesh.HighOrderThresholdMin
Minimum threshold for high order element optimization@*
Default value: @code{0.
2
}@*
Default value: @code{0.
1
}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.HighOrderThresholdMax
...
...
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