<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 22, 2015 at 11:27 AM, <span dir="ltr"><<a href="mailto:Carol.Brickley@awe.co.uk" target="_blank">Carol.Brickley@awe.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u><u></u>
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">All,<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">When I use VecGetArray it only seems to return half of the array? I am using it:<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">VecGetArray (ptr->sol_x_loc, sol_v, iss, err)<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">And sol_v only seems to come back with half the vector?<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">I am using a F90 interface to the Petsc 3.4.3 routines.</span></font></p></div></div></blockquote><div><br></div><div>Note that VecGetArray only gives you the local values. Are you running in parallel?</div><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-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-family:Arial;font-size:10pt"> </span></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Carol<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><em><b><i><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold;font-style:normal">Dr Carol
Brickley </span></font></i></b></em><b><font color="#3366ff" face="Comic Sans MS"><span style="font-family:"Comic Sans MS";color:#3366ff;font-weight:bold"><u></u><u></u></span></font></b></p>
<p class="MsoNormal"><em><b><i><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold;font-style:normal">BSc,PhD,ARCS,DIC,MBCS</span></font></i></b></em><b><font color="#3366ff" face="Comic Sans MS"><span style="font-family:"Comic Sans MS";color:#3366ff;font-weight:bold"><u></u><u></u></span></font></b></p>
<div>
<p class="MsoNormal"><b><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold"> <u></u><u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold">Senior Software Engineer</span></font></b><u></u><u></u></p>
<p class="MsoNormal"><b><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold">Applied Computer Science</span></font></b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><em><b><i><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold;font-style:normal">DS+T,</span></font></i></b></em><u></u><u></u></p>
<p class="MsoNormal"><em><b><i><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold;font-style:normal">AWE<u></u><u></u></span></font></i></b></em></p>
<p class="MsoNormal"><em><b><i><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold;font-style:normal">Aldermaston<u></u><u></u></span></font></i></b></em></p>
<p class="MsoNormal"><u></u><u></u><em><b><i><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold;font-style:normal">Reading</span></font></i></b></em><u></u><u></u><em><b><i><font color="#3366ff" face="Comic Sans MS"><span style="font-family:"Comic Sans MS";color:#3366ff;font-weight:bold;font-style:normal"><u></u><u></u></span></font></i></b></em></p>
<p class="MsoNormal"><em><b><i><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold;font-style:normal">Berkshire<u></u><u></u></span></font></i></b></em></p>
<p class="MsoNormal"><em><b><i><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold;font-style:normal">RG7 4PR</span></font></i></b></em><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><b><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold"> <u></u><u></u></span></font></b></p>
</div>
<div>
<p class="MsoNormal"><em><b><i><font size="3" color="#3366ff" face="Comic Sans MS"><span style="font-size:12.0pt;font-family:"Comic Sans MS";color:#3366ff;font-weight:bold;font-style:normal">Direct: 0118 9855035</span></font></i></b></em><b><font color="#3366ff" face="Comic Sans MS"><span style="font-family:"Comic Sans MS";color:#3366ff;font-weight:bold"><u></u><u></u></span></font></b></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
</div>
<p>
___________________________________________________
____________________________
The information in this email and in any attachment(s) is
commercial in confidence. If you are not the named addressee(s)
or
if you receive this email in error then any distribution, copying or
use of this communication or the information in it is strictly
prohibited. Please notify us immediately by email at
admin.internet(at)<a href="http://awe.co.uk" target="_blank">awe.co.uk</a>, and then delete this message from
your computer. While attachments are virus checked, AWE plc
does not accept any liability in respect of any virus which is not
detected.
AWE Plc
Registered in England and Wales
Registration No 02763902
AWE, Aldermaston, Reading, RG7 4PR
</p></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">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></div>