Theoretical simulation and preparation of binary and ternary combinatorial libraries by thermal PVD