Cell dynamics simulations of block copolymers