allomorph.init_struct
Initial nanoparticle structure generation.
Submodules
Attributes
Functions
|
Generates a BNP alloy structure based on specified distribution type. |
|
Generates and writes a specific BNP alloy structure. |
|
Generate a hard core-shell structure by combining shell and core atoms. |
|
Orchestrates the generation of hard core-shell BNPs. |
|
Generates a monometallic nanoparticle structure based on specified shape. |
|
Write a monometallic nanoparticle to LAMMPS data and XYZ files. |
|
Generates a TNP alloy structure based on specified distribution types. |
|
Generates and writes TNP alloy structures. |
Package Contents
- allomorph.init_struct.TNP_DISTRIB_LIST = ['L10R', 'CS', 'CL10S', 'CRALS', 'RRAL', 'CSRAL', 'CSL10', 'CRSR', 'LL10'][source]
- allomorph.init_struct.gen_bnp(obj, element1, element2, shape, ratio2, distrib, rseed, ele_dict=None)[source]
Generates a BNP alloy structure based on specified distribution type.
- allomorph.init_struct.write_bnp(element1, element2, diameter, shape, ratio2, distrib, replace=False, vis=False, ele_dict=None)[source]
Generates and writes a specific BNP alloy structure.
- allomorph.init_struct.gen_hard_core_shell(shell_atoms, core_atoms, del_cutoff)[source]
Generate a hard core-shell structure by combining shell and core atoms. Shell atoms overlapping with core atoms within del_cutoff are deleted.
- allomorph.init_struct.write_hard_core_shell(replace=False, vis=False, ele_dict=None)[source]
Orchestrates the generation of hard core-shell BNPs. Iterates through elements, sizes, and shapes.
- allomorph.init_struct.gen_mnp(shape, diameter, element, latConst, custom_shapes=None)[source]
Generates a monometallic nanoparticle structure based on specified shape.
- allomorph.init_struct.write_mnp(element, diameter, lat_const, shape, replace=False, vis=False, custom_shapes=None)[source]
Write a monometallic nanoparticle to LAMMPS data and XYZ files.