3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-07 06:33:48 +01:00

Added 'type_of_ion' list to ElectronicStructure

This commit is contained in:
Oleg E. Peil 2015-09-16 11:55:50 +02:00 committed by Michel Ferrero
parent 68fbc15891
commit f2e4c2f866

View File

@ -26,6 +26,7 @@ class ElectronicStructure:
def __init__(self, vasp_data): def __init__(self, vasp_data):
self.natom = vasp_data.poscar.nq self.natom = vasp_data.poscar.nq
self.type_of_ion = vasp_data.poscar.type_of_ion
self.nktot = vasp_data.kpoints.nktot self.nktot = vasp_data.kpoints.nktot
self.kmesh = {'nktot': self.nktot} self.kmesh = {'nktot': self.nktot}