3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-19 04:22:29 +01:00

Fixed the previous commit

The implementation of option 'read_all' was missing in the previous commit.
This commit is contained in:
Oleg E. Peil 2015-09-16 11:29:05 +02:00 committed by Michel Ferrero
parent 33ab7ff2a0
commit 36c928a4b5

View File

@ -30,15 +30,17 @@ class VaspData:
self.vasp_dir = vasp_dir self.vasp_dir = vasp_dir
self.plocar = Plocar() self.plocar = Plocar()
self.plocar.from_file(vasp_dir)
self.poscar = Poscar() self.poscar = Poscar()
self.poscar.from_file(vasp_dir)
self.kpoints = Kpoints() self.kpoints = Kpoints()
self.kpoints.from_file(vasp_dir)
self.eigenval = Eigenval() self.eigenval = Eigenval()
self.eigenval.from_file(vasp_dir)
self.doscar = Doscar() self.doscar = Doscar()
self.doscar.from_file(vasp_dir)
if read_all:
self.plocar.from_file(vasp_dir)
self.poscar.from_file(vasp_dir)
self.kpoints.from_file(vasp_dir)
self.eigenval.from_file(vasp_dir)
self.doscar.from_file(vasp_dir)
################################################################################ ################################################################################
################################################################################ ################################################################################