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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
e8546926
Commit
e8546926
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
b6681cd0
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Mesh/Field.cpp
+19
-20
19 additions, 20 deletions
Mesh/Field.cpp
Plugin/Eigenvectors.cpp
+2
-2
2 additions, 2 deletions
Plugin/Eigenvectors.cpp
doc/texinfo/opt_mesh.texi
+5
-0
5 additions, 0 deletions
doc/texinfo/opt_mesh.texi
doc/texinfo/opt_plugin.texi
+11
-2
11 additions, 2 deletions
doc/texinfo/opt_plugin.texi
with
37 additions
and
24 deletions
Mesh/Field.cpp
+
19
−
20
View file @
e8546926
...
@@ -821,7 +821,7 @@ class MathEvalField : public Field
...
@@ -821,7 +821,7 @@ class MathEvalField : public Field
{
{
if
(
update_needed
)
{
if
(
update_needed
)
{
if
(
!
expr
.
set_function
(
f
))
if
(
!
expr
.
set_function
(
f
))
Msg
::
Error
(
"Field %i : Invalid matheval expression
\"
%s
\"
\n
"
,
Msg
::
Error
(
"Field %i : Invalid matheval expression
\"
%s
\"
"
,
this
->
id
,
f
.
c_str
());
this
->
id
,
f
.
c_str
());
update_needed
=
false
;
update_needed
=
false
;
}
}
...
@@ -856,7 +856,7 @@ class ParametricField:public Field
...
@@ -856,7 +856,7 @@ class ParametricField:public Field
if
(
update_needed
)
{
if
(
update_needed
)
{
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
if
(
!
expr
[
i
].
set_function
(
f
[
i
]))
if
(
!
expr
[
i
].
set_function
(
f
[
i
]))
Msg
::
Error
(
"Field %i : Invalid matheval expression
\"
%s
\"
\n
"
,
Msg
::
Error
(
"Field %i : Invalid matheval expression
\"
%s
\"
"
,
this
->
id
,
f
[
i
].
c_str
());
this
->
id
,
f
[
i
].
c_str
());
}
}
update_needed
=
false
;
update_needed
=
false
;
...
@@ -1020,8 +1020,7 @@ class AttractorField : public Field
...
@@ -1020,8 +1020,7 @@ class AttractorField : public Field
dist
=
new
ANNdist
[
1
];
dist
=
new
ANNdist
[
1
];
options
[
"NodesList"
]
=
new
FieldOptionList
(
nodes_id
,
&
update_needed
);
options
[
"NodesList"
]
=
new
FieldOptionList
(
nodes_id
,
&
update_needed
);
options
[
"EdgesList"
]
=
new
FieldOptionList
(
edges_id
,
&
update_needed
);
options
[
"EdgesList"
]
=
new
FieldOptionList
(
edges_id
,
&
update_needed
);
options
[
"NNodesByEdge"
]
=
options
[
"NNodesByEdge"
]
=
new
FieldOptionInt
(
n_nodes_by_edge
,
&
update_needed
);
new
FieldOptionInt
(
n_nodes_by_edge
,
&
update_needed
);
n_nodes_by_edge
=
20
;
n_nodes_by_edge
=
20
;
}
}
~
AttractorField
()
~
AttractorField
()
...
...
This diff is collapsed.
Click to expand it.
Plugin/Eigenvectors.cpp
+
2
−
2
View file @
e8546926
...
@@ -27,8 +27,8 @@ void GMSH_EigenvectorsPlugin::getName(char *name) const
...
@@ -27,8 +27,8 @@ void GMSH_EigenvectorsPlugin::getName(char *name) const
void
GMSH_EigenvectorsPlugin
::
getInfos
(
char
*
author
,
char
*
copyright
,
char
*
help_text
)
const
void
GMSH_EigenvectorsPlugin
::
getInfos
(
char
*
author
,
char
*
copyright
,
char
*
help_text
)
const
{
{
strcpy
(
author
,
"C. Geuzaine"
);
strcpy
(
author
,
"C. Geuzaine
, J.-F. Remacle
"
);
strcpy
(
copyright
,
"
DGR (www.multiphysics.com)
"
);
strcpy
(
copyright
,
"
C. Geuzaine, J.-F. Remacle
"
);
strcpy
(
help_text
,
strcpy
(
help_text
,
"Plugin(Eigenvectors) computes the three (right)
\n
"
"Plugin(Eigenvectors) computes the three (right)
\n
"
"eigenvectors of each tensor in the view `iView'
\n
"
"eigenvectors of each tensor in the view `iView'
\n
"
...
...
This diff is collapsed.
Click to expand it.
doc/texinfo/opt_mesh.texi
+
5
−
0
View file @
e8546926
...
@@ -484,6 +484,11 @@ Display mesh tetrahedra?@*
...
@@ -484,6 +484,11 @@ Display mesh tetrahedra?@*
Default value: @code{1}@*
Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
Saved in: @code{General.OptionsFileName}
@item Mesh.ToleranceEdgeLength
Skip a model edge in mesh generation if its length is less than user's defined tolerance@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
@item Mesh.Triangles
@item Mesh.Triangles
Display mesh triangles?@*
Display mesh triangles?@*
Default value: @code{1}@*
Default value: @code{1}@*
...
...
This diff is collapsed.
Click to expand it.
doc/texinfo/opt_plugin.texi
+
11
−
2
View file @
e8546926
...
@@ -414,7 +414,7 @@ Default value: @code{-1}
...
@@ -414,7 +414,7 @@ Default value: @code{-1}
@end table
@end table
@item Plugin(FieldView)
@item Plugin(FieldView)
Plugin(FieldView) evaluate a field on the choosen view.
Plugin(FieldView) evaluate
s
a field on the choosen view.
Numeric options:
Numeric options:
@table @code
@table @code
...
@@ -427,7 +427,16 @@ Default value: @code{-1}
...
@@ -427,7 +427,16 @@ Default value: @code{-1}
@end table
@end table
@item Plugin(GSHHS)
@item Plugin(GSHHS)
Plugin(GSHHS) import GSHHS data.
Plugin(GSHHS) read differenct kind of contour lines data and write a .geo file.
Valid values for "Format" are :
-"gshhs" : open GSHHS file
-"loops2" : import 2D contour lines in simple text format :
NB_POINTS_IN_FIRST_LOOP
COORD1 COORD2
COORD1 COORD2
... ...
NB_POINTS_IN_SECOND_LOOP
...
String options:
String options:
@table @code
@table @code
...
...
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