From: John P. <jwp...@gm...> - 2014-09-11 14:39:06
|
On Thu, Sep 11, 2014 at 7:22 AM, Jed Brown <je...@je...> wrote: > John Peterson <jwp...@gm...> writes: > > > Hmmm I haven't tried PETSc 3.5.2 yet (3.5.1 should work with libmesh). > Maybe they changed the PCSetOperators API? > > No, subminor releases maintain source and binary compatibility. > They do nowadays, anyway ;-) #else > // API argument order change in PETSc 2.3.3 > ierr = VecScatterBegin(scatter, > this->_vec, > petsc_subvector->_vec, > INSERT_VALUES, > SCATTER_FORWARD); LIBMESH_CHKERRABORT(ierr); > ierr = VecScatterEnd(scatter, > this->_vec, > petsc_subvector->_vec, > INSERT_VALUES, > SCATTER_FORWARD); LIBMESH_CHKERRABORT(ierr); > #endif -- John |