read_dynmat_adv
esta.qeBag.read_dynmat_adv
¶
read_dynamical_matrix_q0(filename, natm_type, posfile=None)
¶
read dyanmatrix at q=(0 0 0) point to find the force constant between atoms as well as corresponding distance between atoms
parameters:
filename: string
name of the dynamical martrix file
natm_type: list
for no. of atoms of each types; e.g. [4, 4, 14] for
3type of atoms
posfile: str
name of the poscar file, optional
returns:
NOTE: lattice is cubic see .f90 file in qe code:
e.g see: SUBROUTINE write_old_dyn_mat_head(iudyn) in io_dyn_mat_old.f90 or other .f90 files ....