Mercurial > fem-fenics-eugenio
comparison inst/ufl.m @ 226:043120f071de
Correct help message for ufl
author | Eugenio Gianniti <eugenio.gianniti@mail.polimi.it> |
---|---|
date | Fri, 23 May 2014 11:41:17 +0200 |
parents | 72af6354bf02 |
children | 8db0b8583615 |
comparison
equal
deleted
inserted
replaced
225:72af6354bf02 | 226:043120f071de |
---|---|
25 ## Possible options are: BilinearForm, Functional, FunctionSpace, LinearForm | 25 ## Possible options are: BilinearForm, Functional, FunctionSpace, LinearForm |
26 ## and Problem. | 26 ## and Problem. |
27 ## @end itemize | 27 ## @end itemize |
28 ## | 28 ## |
29 ## @example | 29 ## @example |
30 ## @code{ufl start fs.ufl} | 30 ## @code{ufl start linform} |
31 ## @code{ufl element = FunctionSpace ("Lagrange", triangle, 1)} | 31 ## @code{ufl element = FiniteElement ("Lagrange", triangle, 1)} |
32 ## @code{ufl end FunctionSpace} | 32 ## @code{ufl v = TestFunction (element)} |
33 ## This way you can write a ufl file and compile it obtaining a FunctionSpace. | 33 ## @code{ufl f = Coefficient (element)} |
34 ## @code{ufl L = f*v*dx} | |
35 ## @code{ufl end LinearForm} | |
34 ## @end example | 36 ## @end example |
37 ## | |
38 ## This way you can write a ufl file and compile it obtaining a LinearForm. | |
35 ## | 39 ## |
36 ## @seealso{import_ufl_Problem, import_ufl_BilinearForm, import_ufl_Functional, | 40 ## @seealso{import_ufl_Problem, import_ufl_BilinearForm, import_ufl_Functional, |
37 ## import_ufl_FunctionSpace, import_ufl_LinearForm} | 41 ## import_ufl_FunctionSpace, import_ufl_LinearForm} |
38 ## @end deftypefn | 42 ## @end deftypefn |
39 | 43 |