← Back to team overview

dolfin team mailing list archive

Re: GenericFunction::compute_vertex_values

 

On Tue, Feb 05, 2013 at 07:33:37PM +0000, Garth N. Wells wrote:
> For mixed/vector-values functions,
> GenericFunction::compute_vertex_values(..) returns the values in a
> vector as
>    [u0, u1, u2, u3, u4, . . . . . . , v0, v1, v2, v3, . . . , w0, w1,
> w2, w3, . . . .]
> This isn't very convenient for post-processing, where the order is usually
>    [u0, v0, w0, u1, v1, w1, u2, v2, w2, . . . un, vn, wn]
> Any opinions on changing the ordering?

This was at some point decided by the way in which Viper preferred to
get the values. Since Viper has been replaced, we're free to change as
long as there is no issue with the reimplemented plotting.

This feature is low-level enough that we might change it at will, but
we need to remember it for the next set of release notes.

--
Anders


References