<div class="gmail_quote">On Mon, Jun 6, 2011 at 23:01, Boyce Griffith <span dir="ltr"><<a href="mailto:griffith@cims.nyu.edu">griffith@cims.nyu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
d_petsc_vector->data = /* pointer to SAMRAI vector object */;</blockquote></div><br><div><br></div><div>There must be a function somewhere with prototype along the lines of</div><div><br></div><div>SAMRAI_Stuff VecGetStuff(Vec);</div>
<div><br></div><div>and maybe a corresponding restore. You mutate SAMRAI_Stuff somehow. Just make the state get incremented somewhere in here.</div>