<div dir="ltr"><div><div>Hello petsc-users,<br><br></div>I created a vector using DMDACreate with 3 degrees of freedom. Is it possible for me to access each vector corresponding to a degree of freedom? Seeing that I need to access the array as [k][j][i][dof], does it mean that the values of each component are not contiguous?<br>

<br>Also, what is the difference between DMDAVecGetArray and DMDAVecGetArrayDOF?<br><br></div><div>Thank you,<br></div>Anush<br></div>