CosmoMC source code documentation

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Antony Lewis
Posts: 1941
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

CosmoMC source code documentation

Post by Antony Lewis » June 23 2014

Some auto-generated provisional documentation for the CosmoMC code is at

http://cosmologist.info/cosmomc/doc/

As well as basic usage, dependency and arguments, it also shows class inheritance graphs for classes and files which may help to understand the code structure - e.g. see

http://cosmologist.info/cosmomc/doc/fil ... s.f90.html
http://cosmologist.info/cosmomc/doc/cla ... ihood.html

The "ForDocs" python code for auto-generatic documentation from source was make by a freelancer and is now open source at

https://github.com/cmbant/fordocs

It should work on other programs, but probably best on F90/F2003.

However quite a few things could be improved (comments from modules, full program inheritance graphs, better comments, function result details) - do let me know if anyone would like to help improving the python scripts.

Post Reply