The local form of the source function as a fingerprint of strong and weak intra- and intermolecular interactions