Is this what you want?<br><br><a href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Vec/VecCreateMPIWithArray.html">http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Vec/VecCreateMPIWithArray.html</a><br>
<br>  Matt<br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 6:03 AM,  <span dir="ltr">&lt;<a href="mailto:jarunan@ascomp.ch">jarunan@ascomp.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hello,<br>
<br>
Is there an equivalent way to allocating array pointer for creating vectors (or vector pointers)?<br>
<br>
<br>
Jarunan<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>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<br>