Polystyrene based shape memory nanocomposites