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 -------------- next part -------------- A non-text attachment was scrubbed... Name: petsc-include-graph.pdf Type: doc/pdf Size: 23910 bytes Desc: not available URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130214/438c6f57/attachment-0001.bin>
