- changed status to resolved
Expose DMPlexGetAdjacency
Would be a nice addition, since most of the other Adjacency routines have been already exposed.
Comments (5)
-
-
reporter Wow, that's fast! ;) Thank you very much. However install fails: I am doing
$git clone https://bitbucket.org/petsc/petsc4py $git branch * master $cd petsc4py $python setup.py install
which fails with the following output https://drive.google.com/open?id=0ByT4soc3PmzVT053VGdjZl8xQTg
-
The branch
petsc4py/master
should be used withpetsc/master
. Are you using a release version or PETSc, or thepetsc/maint
branch? In that case, you cannot use my last commit. I have to cherry-pick the commit to thepetsc4py/maint
branch, and you must switch to that branch. -
Done in 52aaec2b659f894fdf0e951e284daba7f56184aa. Please
git checkout maint
and try again. -
reporter I was using petsc maint branch, using petsc4py/maint now compiles without issues. Thank you very much.
I checked the results from dm.getAdjacency() using the mesh generated by PETSc.DMPlex().createBoxMesh(2) and the results are the expected ones.
- Log in to comment
Done in fce53e7.