<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 13 February 2018 at 21:17, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Tue, Feb 13, 2018 at 3:21 PM, Mohammad Hassan Baghaei <span dir="ltr"><<a href="mailto:mhbaghaei@mail.sjtu.edu.cn" target="_blank">mhbaghaei@mail.sjtu.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-2289139627601583231m_7109505377209361274WordSection1"><p class="MsoNormal">Hi<u></u><u></u></p><p class="MsoNormal">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?</p></div></div></blockquote><div><br></div></span><div>VTK does not have a way to specify data on edges, only on cells or vertices.</div></div></div></div></blockquote><div><br></div><div>This is not entirely true.</div><div><br></div><div>At least for a staggered grid, where you have one DOF per edge, you can represent the edge data via the type VTK_VERTEX.<span class="sewg407wb8qbwff"></span><span class="sew4kfu2l8p82rm"></span></div><div>You won't generate a beautiful picture, as your field will be rendered as a set of points (your edge faces) - but you can at least inspect the values within ParaView.</div><div><br></div><div>Thanks,</div><div>  Dave</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>  Thanks,</div><div><br></div><div>    Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-2289139627601583231m_7109505377209361274WordSection1"><p class="MsoNormal"><u></u><u></u></p><p class="MsoNormal">Thanks <u></u><u></u></p><p class="MsoNormal">Amir</p></div></div></blockquote></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-2289139627601583231gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~<wbr>knepley/</a><br></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br></div></div>