### How do we get the values of u = Function(Q) ?

73

views

0

How do we get the values of u = Function(Q) ?

Q = VectorFunctionSpace(mesh, 'P', 2)

Thanks
One can either call the eval() method on the function, or extract the vector of dofs directly. I suggest searching the board for these, or looking closely at the demo examples to see usage. Also, you can search the board for 'print values of function' and you should get some results.

Q = VectorFunctionSpace(mesh, 'P', 2)

Thanks

Community: FEniCS Project

written
9 weeks ago by
jwinkle

Please login to add an answer/comment or follow this question.