HTMACat.model package
Submodules
HTMACat.model.Ads module
Created on Sat Mar 18 09:00:12 2023.
@author: YuxiaoLan
- class HTMACat.model.Ads.Adsorption(species: list, sites: list, spec_ads_stable=None, substrate=<HTMACat.model.Substrate.Slab object>)[source]
Bases:
Structure
Methods
Construct_double_adsorption
Construct_single_adsorption
add_sites
add_species
construct
from_input
get_sites
out_file_name
out_print
remove_same
set_species
- class HTMACat.model.Ads.Coadsorption(species: list, sites: list, spec_ads_stable=None, substrate=<HTMACat.model.Substrate.Slab object>)[source]
Bases:
Adsorption
Methods
Construct_coadsorption_11
Construct_coadsorption_12
Construct_coadsorption_22
Construct_double_adsorption
Construct_single_adsorption
add_sites
add_species
construct
from_input
get_sites
out_file_name
out_print
remove_same
set_species
HTMACat.model.Construct_adsorption_yaml module
HTMACat.model.Species module
- class HTMACat.model.Species.ABS_Species(form, formtype='sim', alias_name=None)[source]
Bases:
ABC
Methods
from_input
from_input_dict
get_formular
get_molecule
out_file_name
out_print
- class HTMACat.model.Species.File_Species(form, formtype='file', alias_name=None)[source]
Bases:
ABS_Species
- Attributes:
- atoms
- edges_list
Methods
from_input
from_input_dict
get_formular
get_molecule
out_file_name
out_print
set_filetype
- property atoms: Atoms
- property edges_list
- class HTMACat.model.Species.Sim_Species(form, formtype='sim', alias_name=None)[source]
Bases:
ABS_Species
Methods
from_input
from_input_dict
get_formular
get_molecule
out_file_name
out_print
- class HTMACat.model.Species.Sml_Species(form, formtype='sml', alias_name=None)[source]
Bases:
ABS_Species
Methods
from_input
from_input_dict
get_formular
get_molecule
out_file_name
out_print
HTMACat.model.Structure module
HTMACat.model.Substrate module
Created on Fri Mar 17 15:34:47 2023.
@author: YuxiaoLan
- class HTMACat.model.Substrate.Bulk(element='Pt', lattice_type='fcc', lattice_constant=None, ele_dop='Cu', natom_dop='0', supercell=None)[source]
Bases:
object
Methods
construct
dop_bulk
get_dop_element
get_ele_dop
get_main_element
get_natom_dop
get_supercell
set_lattice_constant
- class HTMACat.model.Substrate.FileSlab(filename)[source]
Bases:
Structure
Methods
find_surface_atoms
(atomstype[, tol_zdiff, ...])Generate the list of surface atoms (top surface). Parameters ---------- atomstype: str 'top' means find the top surface of slab 'bottom' means find the bottom surface of slab tol_zdiff: number If the z_coord of an atom is higher than zmax-tol_zdiff, this atom is recognized as a "surface atom". Returns ---------- index_topsurf: list List of the indices of the surface atoms.
construct
get_dis_inter
init_all_slab
is_dope
out_file_name
out_print
- find_surface_atoms(atomstype, tol_zdiff=0.7, tol_zangle_min=0)[source]
Generate the list of surface atoms (top surface). Parameters ———- atomstype: str
‘top’ means find the top surface of slab ‘bottom’ means find the bottom surface of slab
- tol_zdiff: number
If the z_coord of an atom is higher than zmax-tol_zdiff, this atom is recognized as a “surface atom”.
Returns
- index_topsurf: list
List of the indices of the surface atoms.
- class HTMACat.model.Substrate.Slab(in_bulk=<HTMACat.model.Substrate.Bulk object>, facet='100', layers=4)[source]
Bases:
Structure
Methods
Construct_1stLayer_slab
Construct_doped_slab
Construct_slab
construct
dope_slab
get_dis_inter
get_facet
get_layers
get_miller_index
init_all_slab
init_one_slab
is_dope
out_file_name
out_print