diff --git a/Parser/Gmsh.tab.cpp b/Parser/Gmsh.tab.cpp index ec7cc45551c7c69b74865fa16caf9c1e6983a58a..6be7c84bd01b1df36cb2fc4429feff2876163539 100644 --- a/Parser/Gmsh.tab.cpp +++ b/Parser/Gmsh.tab.cpp @@ -192,7 +192,7 @@ #line 1 "Gmsh.y" -// $Id: Gmsh.tab.cpp,v 1.194 2004-05-30 21:21:41 geuzaine Exp $ +// $Id: Gmsh.tab.cpp,v 1.195 2004-05-31 21:37:22 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -6192,7 +6192,7 @@ case 229: GMSH_PluginManager::instance()->setPluginOption(yyvsp[-6].c, yyvsp[-3].c, yyvsp[-1].d); } catch (...) { - yymsg(WARNING, "Unknown option '%s' or plugin '%s'", yyvsp[-3].c, yyvsp[-6].c); + yymsg(GERROR, "Unknown option '%s' or plugin '%s'", yyvsp[-3].c, yyvsp[-6].c); } ; break;} @@ -6203,7 +6203,7 @@ case 230: GMSH_PluginManager::instance()->setPluginOption(yyvsp[-6].c, yyvsp[-3].c, yyvsp[-1].c); } catch (...) { - yymsg(WARNING, "Unknown option '%s' or plugin '%s'", yyvsp[-3].c, yyvsp[-6].c); + yymsg(GERROR, "Unknown option '%s' or plugin '%s'", yyvsp[-3].c, yyvsp[-6].c); } ; break;} @@ -7135,7 +7135,7 @@ case 286: GMSH_PluginManager::instance()->action(yyvsp[-4].c, yyvsp[-1].c, 0); } catch(...) { - yymsg(WARNING, "Unknown action '%s' or plugin '%s'", yyvsp[-1].c, yyvsp[-4].c); + yymsg(GERROR, "Unknown action '%s' or plugin '%s'", yyvsp[-1].c, yyvsp[-4].c); } ; break;} diff --git a/Parser/Gmsh.y b/Parser/Gmsh.y index 5a93453ba261d14d71b2982cabf72d35f45479bb..35cfc597a8a5b06cc7611b78eed62c72e21c3311 100644 --- a/Parser/Gmsh.y +++ b/Parser/Gmsh.y @@ -1,5 +1,5 @@ %{ -// $Id: Gmsh.y,v 1.170 2004-05-30 21:21:42 geuzaine Exp $ +// $Id: Gmsh.y,v 1.171 2004-05-31 21:37:23 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -1625,7 +1625,7 @@ Affectation : GMSH_PluginManager::instance()->setPluginOption($3, $6, $8); } catch (...) { - yymsg(WARNING, "Unknown option '%s' or plugin '%s'", $6, $3); + yymsg(GERROR, "Unknown option '%s' or plugin '%s'", $6, $3); } } | tPlugin '(' tSTRING ')' '.' tSTRING tAFFECT StringExpr tEND @@ -1634,7 +1634,7 @@ Affectation : GMSH_PluginManager::instance()->setPluginOption($3, $6, $8); } catch (...) { - yymsg(WARNING, "Unknown option '%s' or plugin '%s'", $6, $3); + yymsg(GERROR, "Unknown option '%s' or plugin '%s'", $6, $3); } } ; @@ -2515,7 +2515,7 @@ Command : GMSH_PluginManager::instance()->action($3, $6, 0); } catch(...) { - yymsg(WARNING, "Unknown action '%s' or plugin '%s'", $6, $3); + yymsg(GERROR, "Unknown action '%s' or plugin '%s'", $6, $3); } } | tCombine tSTRING tEND diff --git a/Parser/Gmsh.yy.cpp b/Parser/Gmsh.yy.cpp index d3906aded87b6f746b226eb75b47dbbae0291462..74cc86716d44c3f1870cf5d34da18f2a384ed1b2 100644 --- a/Parser/Gmsh.yy.cpp +++ b/Parser/Gmsh.yy.cpp @@ -2,7 +2,7 @@ /* A lexical scanner generated by flex */ /* Scanner skeleton version: - * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.193 2004-05-30 21:21:42 geuzaine Exp $ + * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.194 2004-05-31 21:37:23 geuzaine Exp $ */ #define FLEX_SCANNER @@ -1019,7 +1019,7 @@ char *yytext; #line 1 "Gmsh.l" #define INITIAL 0 #line 2 "Gmsh.l" -// $Id: Gmsh.yy.cpp,v 1.193 2004-05-30 21:21:42 geuzaine Exp $ +// $Id: Gmsh.yy.cpp,v 1.194 2004-05-31 21:37:23 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // diff --git a/Plugin/StreamLines.cpp b/Plugin/StreamLines.cpp index 18eb8a2519f6d9d9bc8b44985437b8d38e532970..6d87465fc268ab2f20233b0f2f6c453f48cdcc14 100644 --- a/Plugin/StreamLines.cpp +++ b/Plugin/StreamLines.cpp @@ -1,4 +1,4 @@ -// $Id: StreamLines.cpp,v 1.8 2004-05-31 20:09:37 geuzaine Exp $ +// $Id: StreamLines.cpp,v 1.9 2004-05-31 21:37:23 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -86,9 +86,7 @@ void GMSH_StreamLinesPlugin::getInfos(char *author, char *copyright, "scheme is a RK44. If `iView' < 0, the plugin is run\n" "on the current view.\n" "\n" - "Plugin(StreamLines) creates one new view. It is\n" - "nice to choose the displacement mode to see\n" - "vectors and to animate the view ;-)\n"); + "Plugin(StreamLines) creates one new view.\n"); } int GMSH_StreamLinesPlugin::getNbOptions() const @@ -135,6 +133,7 @@ Post_View * GMSH_StreamLinesPlugin::GenerateView(Post_View * v) const { Post_View * View = BeginView(1); + View->VectorType = DRAW_POST_DISPLACEMENT; View->NbTimeStep = (int) StreamLinesOptions_Number[11].def; double XINIT[3]; diff --git a/doc/texinfo/opt_plugin.texi b/doc/texinfo/opt_plugin.texi index d05bb6716d91fb35bf8431171fa10c033a26815e..76f15a8896de87477b789a90333bab8f7c08dbbb 100644 --- a/doc/texinfo/opt_plugin.texi +++ b/doc/texinfo/opt_plugin.texi @@ -280,9 +280,7 @@ the options `MaxIter' and `DT'. The time stepping scheme is a RK44. If `iView' < 0, the plugin is run on the current view. -Plugin(StreamLines) creates one new view. It is -nice to choose the displacement mode to see -vectors and to animate the view ;-) +Plugin(StreamLines) creates one new view. Numeric options: @table @code