assign to coefficients vector of function
Asked by
Martin Eigel
Hi,
How can I access the non-const coefficient vector of a Function? This does not seem to work
mesh=UnitSquare
V=FunctionSpace
F=Function(V)
F.vector(
F.vector() still is zero. I think it is suggested like this in the tutorial. Am I missing something?
Besides, how is Function.
v=numpy.
f.compute_
just bombs out.
Cheers, Martin
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Eigel
- Solved:
- Last query:
- Last reply:
To post a message you must log in.