A geometrically exact continuum framework for light-matter interaction in photo-active polymers I. Variational setting. (September 2021)