Re: [firedrake] Naming components of mixed function
What kind of visualisation do you want to do? In Paraview, you can just to visualise a single component of a vector field. all the best --cjc On 14 June 2016 at 14:00, Anna Kalogirou <a.kalogirou@leeds.ac.uk> wrote:
Dear all,
How can I name the components of a function in a mixed function space, so that I can then easily visualize the results based on their names?
For example, say that I have
V = FunctionSpace(mesh, "CG", 1) W = V*V
w = Function(W) w1, w2 = split(w)
output_file = File('results.pvd') output_file.write(w1, w2, time=t)
I would like to give names to w1 and w2.
Regards,
Anna.
--
Dr Anna Kalogirou Research Fellow School of Mathematics University of Leeds
http://www1.maths.leeds.ac.uk/~matak/
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
-- http://www.imperial.ac.uk/people/colin.cotter www.cambridge.org/9781107663916
participants (1)
- 
                
                Colin Cotter