call graph

Toon Verstraelen Toon.Ver... at UGent.be
Tue Nov 3 10:47:20 CET 2009


Hi,

I've made a small script to generate call graphs based on the source code of CP2K. There 
are several filters to reduce the complexity of the graph. I've also attached an example 
that shows how all routines related to improper torsion are called. It is pretty 
instructive for us and I hope it can be useful for others on the list. Any suggestion for 
improvements are welcome. I'm mainly looking for tricks to let graphviz generate prettier 
output. (less crossing arrows)

cheers,

Toon


-- 
Dr. ir. Toon Verstraelen
Center for Molecular Modeling
Ghent University
Technologiepark 903,
B9052 Zwijnaarde
Belgium
Tel: +32 9 264 65 56
E-mail: Toon.Ver... at UGent.be
http://molmod.UGent.be/
http://molmod.UGent.be/code/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graph.pdf
Type: application/pdf
Size: 20690 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20091103/2da2a496/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: call_graph.py.gz
Type: application/x-gzip
Size: 4110 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20091103/2da2a496/attachment.bin>


More information about the CP2K-user mailing list