diff --git a/Plugin/CutGrid.cpp b/Plugin/CutGrid.cpp index da3d312728e3b634be69ea0263a46ac491be1551..062cad672b52f557070abc1171ef15d673509bec 100644 --- a/Plugin/CutGrid.cpp +++ b/Plugin/CutGrid.cpp @@ -1,4 +1,4 @@ -// $Id: CutGrid.cpp,v 1.7 2004-05-16 20:04:43 geuzaine Exp $ +// $Id: CutGrid.cpp,v 1.8 2004-06-24 16:02:21 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -67,10 +67,10 @@ void GMSH_CutGridPlugin::getInfos(char *author, char *copyright, strcpy(author, "J.-F. Remacle (remacle@scorec.rpi.edu)"); strcpy(copyright, "DGR (www.multiphysics.com)"); strcpy(help_text, - "Plugin(CutGrid) cuts a 3D view with a rectangular\n" - "grid defined by the 3 points (`X0',`Y0',`Z0') (origin),\n" - "(`X1',`Y1',`Z1') (axis of U) and (`X2',`Y2',`Z2') (axis\n" - "of V). The number of points along U and V is set\n" + "Plugin(CutGrid) cuts a tetrahedron view with a\n" + "rectangular grid defined by the 3 points (`X0',`Y0',`Z0')\n" + "(origin), (`X1',`Y1',`Z1') (axis of U) and (`X2',`Y2',`Z2')\n" + "(axis of V). The number of points along U and V is set\n" "with the options `nPointsU' and `nPointsV'. If\n" "`iView' < 0, the plugin is run on the current view.\n" "\n" @@ -135,7 +135,7 @@ Post_View * GMSH_CutGridPlugin::GenerateView(Post_View * v) const getPoint(i+1, j , X2); getPoint(i+1, j+1, X3); getPoint(i , j+1, X4); - if(v->NbSS || v->NbSH){ + if(v->NbSS){ List_Add(View->SQ, &X1[0]); List_Add(View->SQ, &X2[0]); List_Add(View->SQ, &X3[0]); @@ -160,7 +160,7 @@ Post_View * GMSH_CutGridPlugin::GenerateView(Post_View * v) const List_Add(View->SQ, &VALUES4[k]); } } - if(v->NbVS || v->NbVH){ + if(v->NbVS){ List_Add(View->VQ, &X1[0]); List_Add(View->VQ, &X2[0]); List_Add(View->VQ, &X3[0]); diff --git a/Plugin/CutParametric.cpp b/Plugin/CutParametric.cpp index 1eace197370093cc05d91d9efec8a4eb2ba1ff71..5b5052cbe3f94eb0abcb118b5008f86ef2ea4ac4 100644 --- a/Plugin/CutParametric.cpp +++ b/Plugin/CutParametric.cpp @@ -1,4 +1,4 @@ -// $Id: CutParametric.cpp,v 1.3 2004-06-15 22:32:18 geuzaine Exp $ +// $Id: CutParametric.cpp,v 1.4 2004-06-24 16:02:21 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -75,11 +75,11 @@ void GMSH_CutParametricPlugin::getInfos(char *author, char *copyright, strcpy(author, "C. Geuzaine (geuzaine@acm.caltech.edu)"); strcpy(copyright, "DGR (www.multiphysics.com)"); strcpy(help_text, - "Plugin(CutParametric) cuts the scalar view `iView'\n" - "with the parametric function (`X'(u), `Y'(u), `Z'(u)),\n" - "using `nPointsU' values of the parameter u in\n" - "[`minU', `maxU']. If `iView' < 0, the plugin is run\n" - "on the current view.\n" + "Plugin(CutParametric) cuts a triangle/tetrahedron\n" + "scalar view `iView' with the parametric function\n" + "(`X'(u), `Y'(u), `Z'(u)), using `nPointsU' values of\n" + "the parameter u in [`minU', `maxU']. If `iView' < 0,\n" + "the plugin is run on the current view.\n" "\n" "Plugin(CutParametric) creates one new view.\n"); } diff --git a/Plugin/StreamLines.cpp b/Plugin/StreamLines.cpp index 5ed780237b816e0c5e9b6c3f278d3d33a2d3522f..43916833007919585ab8c2154eb1439e680f6fcf 100644 --- a/Plugin/StreamLines.cpp +++ b/Plugin/StreamLines.cpp @@ -1,4 +1,4 @@ -// $Id: StreamLines.cpp,v 1.11 2004-06-01 06:15:03 geuzaine Exp $ +// $Id: StreamLines.cpp,v 1.12 2004-06-24 16:02:21 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -73,9 +73,9 @@ void GMSH_StreamLinesPlugin::getInfos(char *author, char *copyright, strcpy(copyright, "DGR (www.multiphysics.com)"); strcpy(help_text, "Plugin(StreamLines) computes stream lines\n" - "from a vector view `iView' and optionally\n" - "interpolates the scalar view `dView' on the\n" - "resulting stream lines. It takes as input a\n" + "from a triangle/tetrahedron vector view `iView'\n" + "and optionally interpolates the scalar view `dView'\n" + "on the resulting stream lines. It takes as input a\n" "grid defined by the 3 points (`X0',`Y0',`Z0')\n" "(origin), (`X1',`Y1',`Z1') (axis of U) and\n" "(`X2',`Y2',`Z2') (axis of V). The number of points\n" diff --git a/doc/texinfo/opt_plugin.texi b/doc/texinfo/opt_plugin.texi index 79bee321d543820c7229ec0a7243faa4bc7fd15d..896eb67a5bef1871ab3ac7f0c81a89f1e150c7b0 100644 --- a/doc/texinfo/opt_plugin.texi +++ b/doc/texinfo/opt_plugin.texi @@ -1,9 +1,9 @@ @ftable @code @item Plugin(CutGrid) -Plugin(CutGrid) cuts a 3D view with a rectangular -grid defined by the 3 points (`X0',`Y0',`Z0') (origin), -(`X1',`Y1',`Z1') (axis of U) and (`X2',`Y2',`Z2') (axis -of V). The number of points along U and V is set +Plugin(CutGrid) cuts a tetrahedron view with a +rectangular grid defined by the 3 points (`X0',`Y0',`Z0') +(origin), (`X1',`Y1',`Z1') (axis of U) and (`X2',`Y2',`Z2') +(axis of V). The number of points along U and V is set with the options `nPointsU' and `nPointsV'. If `iView' < 0, the plugin is run on the current view. @@ -63,11 +63,11 @@ Default value: @code{-1} @end table @item Plugin(CutParametric) -Plugin(CutParametric) cuts the scalar view `iView' -with the parametric function (`X'(u), `Y'(u), `Z'(u)), -using `nPointsU' values of the parameter u in -[`minU', `maxU']. If `iView' < 0, the plugin is run -on the current view. +Plugin(CutParametric) cuts a triangle/tetrahedron +scalar view `iView' with the parametric function +(`X'(u), `Y'(u), `Z'(u)), using `nPointsU' values of +the parameter u in [`minU', `maxU']. If `iView' < 0, +the plugin is run on the current view. Plugin(CutParametric) creates one new view. @@ -296,9 +296,9 @@ Default value: @code{-1} @item Plugin(StreamLines) Plugin(StreamLines) computes stream lines -from a vector view `iView' and optionally -interpolates the scalar view `dView' on the -resulting stream lines. It takes as input a +from a triangle/tetrahedron vector view `iView' +and optionally interpolates the scalar view `dView' +on the resulting stream lines. It takes as input a grid defined by the 3 points (`X0',`Y0',`Z0') (origin), (`X1',`Y1',`Z1') (axis of U) and (`X2',`Y2',`Z2') (axis of V). The number of points