The code HFBTHO (v1.66p) is written in Fortran 95 with MODULE definitions that specify all common arrays and variables for other subroutines by using the USE statements. Integer and real types of variables are automatically detected for the particular computer through the KIND statements. The code is entirely portable. It contains all initial data and no references to external subroutines or libraries are made.
The code requires one input data file (tho.dat). Optionally, in case one wants to restart calculations from a previous run, two more files, dnnn_zzz.hel and/or dnnn_zzz.tel, are required as described below. Also optionally, if one wants to run the code for user-defined Skyrme-force parameters, file forces.dat is required.
The results are printed on the standard output and also recorded in the file thoout.dat. The main results are also recorded in the files hodef.dat (HO basis) and thodef.dat (THO basis), where one line is written for every nucleus calculated, producing a concise table of results suitable for further analyses. Files hodef.dat and thodef.dat are also used when restarting the given calculation after an abnormal termination (CPU time limit or system crash). Namely, before performing a given run, the code always checks if the line corresponding to this run is present or not in the file hodef.dat or thodef.dat. If this is the case, the code does not repeat the calculation for the given run, and only the runs which have not been completed are executed. Due to this implementation, if the user wishes to rerun the same input data file, files hodef.dat and thodef.dat have to be first removed from the current directory.