Variational analysis of a mesoscale model for bilayer membranes