mc_alloy プログラム仕様
- mc_alloy.G_x(x, T, H_AA, H_BB, Omega, z=4)[ソース]
Bragg-Williams (regular-solution) free energy per lattice site.
H_AA, H_BB, and H_AB are bond energies. The first term therefore has z/2 bonds per site. Keeping this linear reference term makes the energetic asymmetry between the A and B end members visible in G(x).
- mc_alloy.calc_sro(grid, L, x_B)
Warren-Cowley SRO パラメータ (1NN, 2NN) の計算
- mc_alloy.count_diff_bonds_except(grid, i, j, L, atom_type, exclude_i, exclude_j)
Number of unlike 1NN bonds from (i,j), except one specified neighbor.
- mc_alloy.count_unlike_bonds(grid, L)
Count every 1NN bond once (right and up directions only).
- mc_alloy.kawasaki_steps(grid, L, Omega_z, kT, n_steps)
- mc_alloy.seed_numba_rng(seed)