← Back to team overview

ffc team mailing list archive

user defined matrix?

 

I'm doing a 2D elasticity problem. In my variational formulation, there are a lot of adj(A), like grad(n)*adj(grad(v)):grad(n)*adj(grad(w)), where adj(A) is the adjoint of the matrix A. That is if A = (a b, c d), then adj(A) = (d -b, -c a).

If I could define adj(A) in the form file, that would be very handy. Is it possible to have user define matrix in FFC? 

Thank you!

Best,
Chong Luo


      

Follow ups