changeset 131:7dd2afcda06c

Change the order of the input parameter to be compliant with Dolfin naming convention.
author gedeone-octave <marcovass89@hotmail.it>
date Fri, 06 Sep 2013 09:55:52 +0200
parents cea41875feb9
children 1b63e9f76624
files src/DirichletBC.cc
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/DirichletBC.cc	Thu Sep 05 21:45:38 2013 +0200
+++ b/src/DirichletBC.cc	Fri Sep 06 09:55:52 2013 +0200
@@ -21,8 +21,7 @@
 
 DEFUN_DLD (DirichletBC, args, , "-*- texinfo -*-\n\
 @deftypefn {Function File} {[@var{bc}]} = \
-DirichletBC (@var{Functional Space}, @var{Function handle}, \
-@var{Boundary Label}) \n\
+DirichletBC (@var{Functional Space}, @var{Boundary Label}, @var{Function handle}}) \n\
 The input parameters are\n\
 @itemize @bullet \n\
 @item @var{Functional Space} is a fem-fenics functional space where\
@@ -34,7 +33,7 @@
 sides where the BC is applied\n\
 @end itemize\n\
 The output @var{BC} is an object which contains the boundary conditions\n\
-@seealso{fem_init_mesh, fem_fs}\n\
+@seealso{Mesh, FunctionalSpace}\n\
 @end deftypefn")
 {
   int nargin = args.length ();
@@ -62,8 +61,8 @@
       if (args(0).type_id () == functionspace::static_type_id ())
         {
           const functionspace & fspo = static_cast<const functionspace&> (args(0).get_rep ());
-          octave_fcn_handle * fh = args(1).fcn_handle_value ();
-          Array<octave_idx_type> side = args(2).array_value ();
+          Array<octave_idx_type> side = args(1).array_value ();
+          octave_fcn_handle * fh = args(2).fcn_handle_value ();
 
           if (!error_state)
             {