3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-26 15:12:18 +02: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.plocar = Plocar()
self.plocar.from_file(vasp_dir)
self.poscar = Poscar()
self.poscar.from_file(vasp_dir)
self.kpoints = Kpoints()
self.kpoints.from_file(vasp_dir)
self.eigenval = Eigenval()
self.eigenval.from_file(vasp_dir)
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)
################################################################################
################################################################################