Mercurial > fem-fenics-eugenio
diff inst/ufl.m @ 228:c74309df3489
State in the ufl.m help message that leading brackets cause an error
author | Eugenio Gianniti <eugenio.gianniti@mail.polimi.it> |
---|---|
date | Thu, 29 May 2014 10:58:17 +0200 |
parents | 8db0b8583615 |
children | f1c717e8a971 |
line wrap: on
line diff
--- a/inst/ufl.m Wed May 28 14:15:52 2014 +0200 +++ b/inst/ufl.m Thu May 29 10:58:17 2014 +0200 @@ -37,6 +37,13 @@ ## ## This way you can write a ufl file and compile it obtaining a LinearForm. ## +## Be aware that a ufl line starting with brackets will result in a syntax +## error. To avoid this, it is necessary to enclose them and their content +## in quotes or apices: +## @example +## @code{ufl "(sigma, u)" = TrialFunctions(W)} +## @end example +## ## @seealso{import_ufl_Problem, import_ufl_BilinearForm, import_ufl_Functional, ## import_ufl_FunctionSpace, import_ufl_LinearForm} ## @end deftypefn