[petsc-users] Accessing a field values of Staggered grid

Mohammad Hassan Baghaei mhbaghaei at mail.sjtu.edu.cn
Tue Feb 13 14:21:59 CST 2018


Hi

I am filling the local vector from dm , has a section layout. The thing is I
want to know how I can see the field variable values defined on edges, the
staggered grid. In fact, Whenever I output to VTK in preview, I would be
able to see the main grid. But the values which are defined on edges, I
could not see them and that makes me unsure about the way I fill the local
vector. How I would be babe to check the field value on staggered grid?

Thanks 

Amir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180214/2a88fbca/attachment.html>


More information about the petsc-users mailing list