Global Variables
In Xtals.jl, global variables are stored in a dictionary called rc. The entries in rc are used for holding various important pieces of information:
rc[:atomic_masses]: a dictionary which maps atomic species to their masses in AMUrc[:cpk_colors]: a dictionary which maps atomic species to their CPK colorsrc[:bonding_rules]: an array which lists the maximum bonding distances between each pair of atom types in Årc[:covalent_radii]: a dictionary which maps atomic species to their covalent radii in Årc[:paths]: a dictionary of paths to directories to search for input data
The rc[:paths] dictionary holds the following:
rc[:paths][:crystals]: the path to find crystallographic files (.cif,.cssr) to read inrc[:paths][:data]: not directly used byXtals.jl, but important for other packages which useXtals, e.g. PorousMaterials.jl