diff --git a/Plugin/CutMap.cpp b/Plugin/CutMap.cpp index 04e1840ed3051548b160d1350e0a2d1c1464f18c..0de8662971f2be99f26b9e9997733f385c846acc 100644 --- a/Plugin/CutMap.cpp +++ b/Plugin/CutMap.cpp @@ -1,4 +1,4 @@ -// $Id: CutMap.cpp,v 1.48 2005-01-08 20:15:18 geuzaine Exp $ +// $Id: CutMap.cpp,v 1.49 2005-03-09 08:07:04 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -122,8 +122,8 @@ void GMSH_CutMapPlugin::getInfos(char *author, char *copyright, "corresponding time step in `dView'. If `dView'\n" "< 0, the plugin uses `iView' as the value source.\n" "If `ExtractVolume' is nonzero, the plugin\n" - "extracts the isovolume with values smaller (if\n" - "`ExtractVolume' > 0) or greater (if `ExtractVolume'\n" + "extracts the isovolume with values greater (if\n" + "`ExtractVolume' > 0) or smaller (if `ExtractVolume'\n" "< 0) than the isosurface `A'.\n" "\n" "Plugin(CutMap) creates as many views as there\n" @@ -147,10 +147,10 @@ void GMSH_CutMapPlugin::catchErrorMessage(char *errorMessage) const double GMSH_CutMapPlugin::levelset(double x, double y, double z, double val) const { - // we must look into the map for A - Map(x,y,z) + // we must look into the map for Map(x,y,z) - A // this is the case when the map is the same as the view, // the result is the extraction of isovalue A - return CutMapOptions_Number[0].def - val; + return val - CutMapOptions_Number[0].def; } Post_View *GMSH_CutMapPlugin::execute(Post_View * v) diff --git a/doc/texinfo/opt_plugin.texi b/doc/texinfo/opt_plugin.texi index 9e6237b7658b617114b72c9dcf639fc4b6db2f96..8e6f85c13386f15335bd0909e11e9f8d93d02e24 100644 --- a/doc/texinfo/opt_plugin.texi +++ b/doc/texinfo/opt_plugin.texi @@ -104,8 +104,8 @@ plugin uses, for each time step in `iView', the corresponding time step in `dView'. If `dView' < 0, the plugin uses `iView' as the value source. If `ExtractVolume' is nonzero, the plugin -extracts the isovolume with values smaller (if -`ExtractVolume' > 0) or greater (if `ExtractVolume' +extracts the isovolume with values greater (if +`ExtractVolume' > 0) or smaller (if `ExtractVolume' < 0) than the isosurface `A'. Plugin(CutMap) creates as many views as there diff --git a/doc/texinfo/opt_view.texi b/doc/texinfo/opt_view.texi index db490edcad9a55a11be9e5b8ed6ba154d2610c3e..344b519da18e504d57b023245ebfeaa370c8f3be 100644 --- a/doc/texinfo/opt_view.texi +++ b/doc/texinfo/opt_view.texi @@ -80,7 +80,7 @@ Default value: @code{1}@* Saved in: @code{General.OptionsFileName} @item View.Boundary -Draw the `N minus b'-dimensional boundary of the simplex (N=simplex dimension, b=option value)@* +Draw the `N minus b'-dimensional boundary of the element (N=element dimension, b=option value)@* Default value: @code{0}@* Saved in: @code{General.OptionsFileName}