Computer simulation of structural transformations during precipitation of an ordered intermetallic phase