Question #159771 on DOLFIN changed: https://answers.launchpad.net/dolfin/+question/159771
Status: Open => Answered Johan Hake proposed the following answer: On Tuesday May 31 2011 09:41:18 Praveen C wrote: > Question #159771 on DOLFIN changed: > https://answers.launchpad.net/dolfin/+question/159771 > > Praveen C gave more information on the question: > I know I can interpolate and Expression and then take grad. But I am > looking to see if there is some automatic differentiation of an > Expression available in dolfin. No. The expression is only evaluated during an assemble. You need to project the grad of your expression to get the derivatives. der = project(grad(e), V) where V is the space you would like to project your function into. Johan -- You received this question notification because you are a member of DOLFIN Team, which is an answer contact for DOLFIN. _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp