From 77472988f05c2f3348a7105311c0147ac1cd4ca6 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 12 May 2004 06:03:12 +0000 Subject: [PATCH] small tweaks --- Plugin/Evaluate.cpp | 7 ++++--- Plugin/Extract.cpp | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Plugin/Evaluate.cpp b/Plugin/Evaluate.cpp index 9642c59f48..67d3965011 100644 --- a/Plugin/Evaluate.cpp +++ b/Plugin/Evaluate.cpp @@ -1,4 +1,4 @@ -// $Id: Evaluate.cpp,v 1.2 2004-05-12 03:29:29 geuzaine Exp $ +// $Id: Evaluate.cpp,v 1.3 2004-05-12 06:03:12 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -38,7 +38,7 @@ StringXNumber EvaluateOptions_Number[] = { }; StringXString EvaluateOptions_String[] = { - {GMSH_FULLRC, "Expression", NULL, "Sin(v) * Sqrt(x^2+y^2)"} + {GMSH_FULLRC, "Expression", NULL, "0.01*(Fabs(Sin(30*y)*Fabs(Cos(30*x)))+0.3)"} }; extern "C" @@ -72,7 +72,8 @@ void GMSH_EvaluatePlugin::getInfos(char *author, char *copyright, "the usual mathematical functions, `Expression'\n" "can contain the symbols x, y, z and v, which\n" "represent the three spatial coordinates and the\n" - "value of the field, respectively.\n" + "value of the field, respectively. If `iView' < 0, the\n" + "plugin is run on the current view.\n" "\n" "Plugin(Evaluate) is executed in-place.\n"); } diff --git a/Plugin/Extract.cpp b/Plugin/Extract.cpp index 0c3fd068ce..a1db903b88 100644 --- a/Plugin/Extract.cpp +++ b/Plugin/Extract.cpp @@ -1,4 +1,4 @@ -// $Id: Extract.cpp,v 1.6 2004-03-15 20:11:41 geuzaine Exp $ +// $Id: Extract.cpp,v 1.7 2004-05-12 06:03:12 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -56,7 +56,7 @@ void GMSH_ExtractPlugin::getInfos(char *author, char *copyright, char *help_text strcpy(author, "C. Geuzaine (geuz@geuz.org)"); strcpy(copyright, "DGR (www.multiphysics.com)"); strcpy(help_text, - "Plugin(Extract) extracts the iComponent-th\n" + "Plugin(Extract) extracts the `iComponent'-th\n" "component of the view `iView'. If `iView' < 0, the\n" "plugin is run on the current view.\n" "\n" -- GitLab