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

*** empty log message ***

parent b6681cd0
No related branches found
No related tags found
No related merge requests found
...@@ -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()
......
...@@ -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"
......
...@@ -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}@*
......
...@@ -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) evaluates 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment