Continuum models for directed self-assembly