Dear Amireh, What are the types of u and v? I suspect you have Function for both when you need TestFunction and TrialFunction? All the best Cjc On Wednesday, 1 August 2018, Amireh Mousavi <amireh.mousavi@math.iut.ac.ir> wrote:
Dear Firedrake team, i'm trying to get u*v*dx as a array which each component is amount of the integral on each element. I want to do that in order to compute error indicator. In dolfin implementation it be done like: assemble(u*v*dx).array() Is there a way to do this in Firedrake? Runing the above code in Firedrake gives: *AttributeError: 'numpy.float64' object has no attribute 'array'* Thank you in advance.
Best, Amireh
-- Colin Cotter Department of Mathematics Imperial College London I don’t expect a reply to this email from you outside of your normal working hours. http://www.imperial.ac.uk/people/colin.cotter www.cambridge.org/9781107663916