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 Logg2.8.6 crossThe operator cross accepts as arguments two logically vector-valued expressions<strong>and</strong> returns a vector which is the cross product (vector product) of thetwo vectors:cross(v, w) ↔ v×w = (v 1 w 2 −v 2 w 1 ,v 2 w 0 −v 0 w 2 ,v 0 w 1 −v 1 w 0 ). (2.34)Note that this operator is only defined for vectors of length three.2.8.7 detThe determinant of a matrix A can be writtend = det(A)2.8.8 devThe deviatoric part of matrix A can be writtenB = dev(A)2.8.9 symThe symmetric part of A can be writtenB = sym(A)The definition issymA = 1 2 (A+AT ) (2.35)40

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

Saved successfully!

Ooh no, something went wrong!