Inter and intra macro-cell model for point dipole–dipole energy calculations