allomorph.init_struct.gen_bnp_al
Note: - Abbreviations:
RAL = randomly distributed alloy
RCS = randomly distributed core-shell-like alloy
(R)L10 = L1_0 intermetallic alloy (with/without random component)
(R)L12 = L1_2 intermetallic alloy (with/without random component)
- To do:
FCC is currently being hard-coded for lattice constant retrieval, might need to be flexible
Perhaps could add a parameter to control core thickness
Functions
|
Randomly convert elements of atoms until specified ratio is reached |
|
Generates a BNP alloy structure based on specified distribution type. |
|
Generates and writes a specific BNP alloy structure. |
|
Main entry point for BNP generation. |
Module Contents
- allomorph.init_struct.gen_bnp_al.rand_conv(obj, element1, element2, ele2Ratio, rseed, prob)[source]
Randomly convert elements of atoms until specified ratio is reached
- allomorph.init_struct.gen_bnp_al.gen_bnp(obj, element1, element2, shape, ratio2, distrib, rseed, ele_dict=None)[source]
Generates a BNP alloy structure based on specified distribution type.