Coefficients of Function
Asked by
Melanie Jahny
I approximate a Function velocity with a Raviart - Thomas vector space:
mesh = Rectangle(0,0,1, 1, 10, 10)
U = VectorFunctionS
velocity = Function(U)
I think the velocity function is now approximated in the following way:
velocity(x,y) = \sum_{i=1}^{Ndof} a_i \phi_i(x,y)
with a_i coefficients and \phi_i Raviart-Thomas basis functions (2D).
Now I need to access the coefficients a_i of this approximation.
Is there any function or possibility to get them?
(I'm using the python version of fenics)
Thanks for any help or advice!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Marie Rognes
- Solved:
- Last query:
- Last reply:
To post a message you must log in.