Energetic and topological insights into the supramolecular structure of dicationic ionic liquids