<div dir="ltr">Thanks Jose. I'll try your suggestion and let you know if it works. </div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 5, 2016 at 12:21 PM, Jose E. Roman <span dir="ltr"><<a href="mailto:jroman@dsic.upv.es" target="_blank">jroman@dsic.upv.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> El 5 mar 2016, a las 12:06, Bikash Kanungo <<a href="mailto:bikash@umich.edu">bikash@umich.edu</a>> escribió:<br>
><br>
> Hi,<br>
><br>
> I was wondering if the BV data structure support ghosted vectors i.e., Vec created with VecCreateGhost. Specifically, if I choose to populate the BV data structure through BVInsertVecs, perform orthogonalization and then retrieve the Vecs using BVGetColumn, then will the retrieved Vecs have the extra ghost nodes in them?<br>
><br>
> Regards,<br>
> Bikash<br>
><br>
<br>
</span>Try the following:<br>
<br>
1. Create a ghosted vector of the appropriate dimension.<br>
2. Create a BV of type BVVECS<br>
3. Set the dimensions of the BV via BVSetSizesFromVec() passing the vector from 1.<br>
<br>
Then BVInsertVecs() should work as you expect (provided that VecDuplicate() keeps ghost nodes). Note that this only works for BVVECS, which is slower than the default type.<br>
<span class="HOEnZb"><font color="#888888"><br>
Jose<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div><div><font color="#666666">Bikash S. Kanungo<br></font></div><font color="#666666">PhD Student<br></font></div><font color="#666666">Computational Materials Physics Group<br></font></div><font color="#666666">Mechanical Engineering <br></font></div><font color="#666666">University of Michigan<br><br></font></div></div>
</div>