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 Logg5.1.4 L A TEXformattingSee chapter about comm<strong>and</strong>line utilities.5.1.5 Dot formattingSee chapter about comm<strong>and</strong>line utilities.5.2 Inspecting <strong>and</strong> manipulating the expressiontreeThis subsection is mostly for form compiler developers <strong>and</strong> technically interestedusers.TODO: More details about traversal <strong>and</strong> transformation algorithms for developers.5.2.1 Traversing expressionsiter expressionsq = f*vr = g*vs = u*va = q*dx(0) + r*dx(1) + s*ds(0)for e in iter_expressions(a):print str(e)83

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

Saved successfully!

Ooh no, something went wrong!