An efficient algorithm for classical density functional theory in three dimensions: Ionic solutions | Synapse