<div dir="ltr"><div class="gmail_extra">Hi, I seems to be having problems with PETSc vector VTK viewer. The output file I get has some values which are different from what I actually have.<br><br></div><div class="gmail_extra">I have a scalar field represented by a vector. If I print it on screen I got the following output.<br><br>Vec Object: 2 MPI processes<br>  type: mpi<br>Process [0]<br>0<br>0<br>0.25<br>0.25<br>0.5<br>0.5<br>0.75<br>0.75<br>1<br>1<br>Process [1]<br>0<br>0<br>0<br>0.25<br>0.25<br>0.25<br>0.5<br>0.5<br>0.5<br>0.75<br>0.75<br>0.75<br>1<br>1<br>1<br><br></div><div class="gmail_extra">But when I set the viewer to use VTK_VTU (in this case ASCII just for make it readable, but the same in native vtk format when read with paraview) I got:<br></div><div class="gmail_extra"><br>0.000000e+00<br>0.000000e+00<br>2.500000e-01<br>2.500000e-01<br>5.000000e-01<br>5.000000e-01<br>7.155608e-01<br>7.198046e-01<br>7.892083e-01<br>1.000000e+00<br>0.000000e+00<br>2.248979e-01<br>2.439858e-01<br>2.788163e-01<br>2.500000e-01<br>2.500000e-01<br>4.997506e-01<br>5.042740e-01<br>5.003098e-01<br>7.500000e-01<br>7.500000e-01<br>7.500000e-01<br>1.000000e+00<br>1.000000e+00<br>1.000000e+00<br><br></div><div class="gmail_extra">The difference start in the 7th value on.Any clue of what could be happening?<br><br></div><div class="gmail_extra">Thanks in advance,<br></div><div class="gmail_extra">Alejandro<br></div></div>