[Up][Tutorial main page]

Looking into the chroma code

At this point, you should have some experience in creating input files and using chroma as a black box. Sooner or later, though, you will need to look into the source code of chroma: you may want to find out what operators have been used to create the proton correlators, or you may want to know what smearing function corresponds to the key GAUGE_INV_GAUSSIAN or what the input parameters correspond to and so on.

You can look through,

You can download the ADAT package following the instructions given here.

The ADAT stripping programs can be found in the directory

ADAT_source_dir/main/strippers/

Look into the file strip_hadspec.cc. You will find a function construct_filenames which, as the name suggests, generates the file names. On line 1198 (**) you will find the names given to each of the 17 correlators and on line 1266 (**) the operator numbers that appear in the file names. So for example, correlator 9 is stored in the file with name proton.D5455.P_4.P_4.PP (for a correlator with a point source and sink). From the chroma file barhqlq_w.cc you know correlator 9 is for an unpolarised proton.

(**) These line numbers may change if the files are modified.

[Up][Tutorial main page]