Mercurial > fem-fenics-eugenio
changeset 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 | 194f8c66b45a |
files | inst/ufl.m |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
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