Computational analysis of ionic polymer cluster energetics