<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecGetArray.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecGetArray.html</a><br>
<br>
On 9/28/14 1:15 PM, Parvathi M.K wrote:<br>
</div>
<blockquote
cite="mid:CA+Z2ge952T+iTQ=h54f9mXh7rn4LUgufj1TBOJQd9cJJ2v+mJA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">Hey,
<div> </div>
<div>I am fairly new to PetSc. I was just curious as to how you
can directly access the data stored in a Petsc object, say a
vector without using VecGetValues().</div>
<div><br>
</div>
<div>I've gone through the header files, petscimpl.h and
vecimpl.h which contain the definitions of the PetscObject and
Vec structures. I cannot figure out which member of the struct
holds the Vector data entered using VecSet(). Also, I could
not find the definitions of the functions in VecOps. Could
someone tell me where I can find these function definitions? </div>
<div><br>
</div>
<div>Thank you :)</div>
<div><br>
</div>
<div>Parvathi</div>
</div>
</blockquote>
<br>
</body>
</html>