The weighted correlation approach for density functional theory: a study on the structure of the electric double layer | Synapse