13.07.2015 Views

UFL Specification and User Manual 0.3 - FEniCS Project

UFL Specification and User Manual 0.3 - FEniCS Project

UFL Specification and User Manual 0.3 - FEniCS Project

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>UFL</strong> <strong>Specification</strong> <strong>and</strong> <strong>User</strong> <strong>Manual</strong> <strong>0.3</strong>Martin S. Alnæs, Anders Loggnamespace available, <strong>and</strong> extract forms <strong>and</strong> elements that are defined afterexecution. The compilers do not compile all forms <strong>and</strong> elements that aredefined in file, but only those that are exported. A finite element with thevariable name element is exported by default, as are forms with the namesM, L, <strong>and</strong> a. The default form names are intended for a functional, linearform, <strong>and</strong> bilinear form respectively.To export multiple forms <strong>and</strong> elements or use other names, an explicit listwith the forms <strong>and</strong> elements to export can be defined. Simply writeelements = [V, P, TH]forms = [a, L, F, J, L2, H1]attheendofthefiletoexporttheelements<strong>and</strong>formsheldbythesevariables.60

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!