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
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>UFL</strong> <strong>Specification</strong> <strong>and</strong> <strong>User</strong> <strong>Manual</strong> <strong>0.3</strong>Martin S. Alnæs, Anders Loggthe formatting sections below:element = FiniteElement("CG", triangle, 1)v = TestFunction(element)u = TrialFunction(element)c = Function(element)f = Function(element)a = c*u*v*dx + f*v*ds5.1.1 strCompact human readable pretty printing. Useful in interactive Python sessions.Example output of str(a):TODO5.1.2 reprAccurate description of expression, with the property that eval(repr(a))== a. Useful to see which representation types occur in an expression, especiallyif str(a) is ambiguous. Example output of repr(a):TODO5.1.3 Tree formattingAscii tree formatting, useful to inspect the tree structure of an expression ininteractive Python sessions. Example output of tree format(a):TODO82