Molecular dynamics simulations on cyclic deformation of an epoxy thermoset