ok. So ordering can be changed. -- Anders
On Wed, Feb 06, 2013 at 09:35:10PM +0100, Joachim Berdal Haga wrote: > Forgot to CC list. > On 6 February 2013 00:00, Joachim Berdal Haga <[1][email protected]> > Plotting must be updated, but that should be simple enough. Line 344 of > VTKPlottableMesh.cpp): >     values->SetValue(3*i+d, indata[i+num_vertices*d]); > ...indata is the result of compute_vertex_values, d is the DOLFIN > spatial dimension, vtk spatial dimension is always 3. > -j. > > 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. > _______________________________________________ > Mailing list: [3]https://launchpad.net/~dolfin > Post to   : [4][email protected] > Unsubscribe : [5]https://launchpad.net/~dolfin > More help  : [6]https://help.launchpad.net/ListHelp > Referenser > 1. mailto:[email protected] > 2. mailto:[email protected] > 3. https://launchpad.net/~dolfin > 4. mailto:[email protected] > 5. https://launchpad.net/~dolfin > 6. https://help.launchpad.net/ListHelp > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

