[petsc-dev] Graph of dependencies in include/
Barry Smith
bsmith at mcs.anl.gov
Fri Mar 8 20:25:53 CST 2013
Karl,
Now that we've cleaned up the include dependency issue a great could you please rerun the script to regenerate the picture and send it around again? Would it also be possible to involve all the various include files that are in the source tree?
Thanks
Barry
On Feb 14, 2013, at 2:56 PM, Karl Rupp <rupp at mcs.anl.gov> wrote:
> Hi guys,
>
> after some brainstorming with Jed and Barry yesterday on the exercise of drawing an include graph I came up with a script for doing so using GraphViz:
>
> https://bitbucket.org/petsc/petsc-dev/commits/6b94bbbb78610810e628b868c0c4da98
>
> Running the script from PETSC_DIR generates the graph. The output obtained on my machine is attached as PDF.
>
> I hope this helps in simplifying the include hierarchy and in a better separation of modules. It also helps in finding erroneous conditional includes: petscfix.h, petscconf.h and petscfptimpl.h are included under some circumstances - but don't exist.
>
> Best regards,
> Karli
> <petsc-include-graph.pdf>
More information about the petsc-dev
mailing list