<div dir="ltr">Hi all,<div><br></div><div>I noticed that there's no VecChop in petsc4py. I see a MatChop, but was wondering if you guys can add the petsc4py implementation of VecChop.</div><div><br></div><div>I am guessing it would be something like:</div><div><br></div><div>in src/PETSc/Vec.pyx:</div><div><br></div><div>def chop(self, tol):</div><div>  cdef PetscReal rval = asReal(tol)</div><div>  CHKERR( VecChop(self.vec, rval) )</div><div><br></div><div>in src/PETSc/petscvec.pxi:</div><div><br></div><div>int VecChop(PetscVec, PetscReal)</div><div><br></div><div>Thanks,</div><div>Justin</div></div>