changeset 120:4096194c31de

Maint: added texinfo desription
author gedeone-octave <marcovass89@hotmail.it>
date Sun, 01 Sep 2013 23:38:35 +0200
parents 4b8b705e22a7
children 82a52945e33b
files src/Plot_2d.cc src/Plot_3d.cc
diffstat 2 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/Plot_2d.cc	Sun Sep 01 23:14:28 2013 +0200
+++ b/src/Plot_2d.cc	Sun Sep 01 23:38:35 2013 +0200
@@ -19,8 +19,9 @@
 
 DEFUN_DLD (Plot_2d, args, , "-*- texinfo -*-\n\
 @deftypefn {Function File} \
-fem_func (@var{Function})\n\
-The input parameter is the function that you want to plot\n\
+Plot_2d (@var{msh}, @var{nodal_value})\n\
+The input parameters are a Mesh and a vector which specify the values of the \
+function that you want to plot at each node\n\
 @seealso{fem_func, fem_save}\n\
 @end deftypefn")
 {
@@ -50,7 +51,7 @@
               boost::shared_ptr <const dolfin::FunctionSpace> V (new Plot_2d::FunctionSpace (mshd));
 
               if (V->dim () != myu.length ())
-                error ("The size of the functional space and of the vector must agree");
+                error ("Plot_2D: The size of the functional space and of the vector must agree");
               else
                 {
                   dolfin::Vector du(myu.length ());
--- a/src/Plot_3d.cc	Sun Sep 01 23:14:28 2013 +0200
+++ b/src/Plot_3d.cc	Sun Sep 01 23:38:35 2013 +0200
@@ -19,8 +19,9 @@
 
 DEFUN_DLD (Plot_3d, args, , "-*- texinfo -*-\n\
 @deftypefn {Function File} \
-fem_func (@var{Function})\n\
-The input parameter is the function that you want to plot\n\
+Plot_3d (@var{msh}, @var{nodal_value})\n\
+The input parameters are a Mesh and a vector which specify the values of the \
+function that you want to plot at each node\n\
 @seealso{fem_func, fem_save}\n\
 @end deftypefn")
 {