--- a/inst/LinearForm.m+++ b/inst/LinearForm.m@@ -14,11 +14,25 @@
## this program; if not, see <http://www.gnu.org/licenses/>.
## -*- texinfo -*-
-## @deftypefn {Function File} {V} = ResidualForm (name, V, [coefficients])-## This function takes as input the name of the problem that you want to solve -## and the FunctionSpace where it is defined and return a Form defined with-## the coefficients passed as optional argument.-## @seealso{FunctionSpace, BilinearForm, ResidualForm}+## @deftypefn {Function File} {[@var{L}]} = @+## LinearForm (@var{my_problem}, @var{U}, @var{coefficient_1}, @+## @var{coefficient_2},...)+##+## Construct a Functional previously imported from a ufl file.+##+## The compulsory arguments are:+## @itemize @bullet+## @item @var{my_problem} the name of the problem to solve.+## @item the FunctionSpace @var{U} where the problem is defined.+## @enditemize+##+## The optional arguments are the @var{coefficient_1}, @var{coefficient_2} +## which specify the parameters for the LinearForm with the same name which+## was used in the ufl file.+## They can be either a Constant, a Function or an Expression.+##+## @seealso{import_ufl_LinearForm, import_ufl_Problem, BilinearForm, +## ResidualForm, BilinearForm}
## @end deftypefn
function a = LinearForm (name, V, varargin)