Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JaGeo committed Nov 23, 2017
1 parent 1d417c4 commit b62f6e1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ContributionsOfAtomsToModes/ContributionsOfAtomsToModes.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self,PoscarName='POSCAR',ForceConstants=False,ForceFileName='FORCE_
ForceConstants (boolean): If True, ForceConstants are read in. If False, forces are read in.
ForceFileName (str): name of the file including force constants or forces
supercell (list of lists): reads in supercell
nac (boolean): If true, NAC is applied.
nac (boolean): If true, NAC is applied. (please be careful if you give a primitive cell. NAC should then be calculated for primitive cell)
symprec (float): contains symprec tag as used in Phonopy
masses (list): Masses in this list are used instead of the ones prepared in Phonopy. Useful for isotopes.
primitive (list of lists): contains rotational matrix to arrive at primitive cell
Expand Down Expand Up @@ -77,8 +77,10 @@ def __init__(self,PoscarName='POSCAR',ForceConstants=False,ForceFileName='FORCE_
self.__set_IRLabels(phonon=self.__phonon,degeneracy_tolerance=degeneracy_tolerance,factor=factor,q=q)





def show_primitivecell(self):
print(self.__phonon.get_primitive())

def __set_ForcesSets(self,filename,phonon):
"""
sets forces
Expand Down

0 comments on commit b62f6e1

Please sign in to comment.