Variational Formulation of Local Molecular Field Theory | Synapse