<div class="gmail_quote">On Fri, Oct 21, 2011 at 15:23, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":1zl">VecValid is gone in 3.2 with no mention in the Changes. Is there any<br>
replacement?</div></blockquote></div><div><br></div>You can use<div><br><div>PetscValidHeaderSpecific(vec,VEC_CLASSID,argnum);</div></div><div><br></div><div>if you are validating function arguments. VecValid() didn't have meaningful semantics when called from user code and PetscValidHeaderSpecific is used consistently in PETSc's input validation.</div>