New question #149302 on DOLFIN: https://answers.launchpad.net/dolfin/+question/149302
I need to print a vector valued function in a matlab-file. I'm using: V = VectorFunctionSpace(mesh, "CG", 2) u = TrialFunction(V) ... solution_file = File( "velocity_test.m" ) solution_file << u.vector() For a 5x4 mesh I get a vector of 198 values. I'd like to know now, how these values are arranged, so that I can arrange them how matlab needs them. Is there a possibility to print only the values in x-direction of u? Thanks a lot for any help!!! -- You received this question notification because you are a member of DOLFIN Team, which is an answer contact for DOLFIN. _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

