← Back to team overview

dolfin team mailing list archive

[Question #154756]: grad f evaluation

 

New question #154756 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/154756

Dear all,

m = UnitInterval(10)
Q = FunctionSpace(m,'CG',1)
f= Function(Q)

f(0) # this works.
g = grad(f)
g(0) #this does not evaluate.

How do I get the value of grad(f) at a point?

Thanks,
Chaffra

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.