File tree 2 files changed +16
-4
lines changed
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,7 @@ def get_setting_functions(self):
81
81
'Spin-Orbit Coupling' :'uses_SOC' ,
82
82
'DFT+U' :'get_U_settings' ,
83
83
'vdW Interactions' :'get_vdW_settings' ,
84
- 'Pseudopotentials' :'get_pp_name' ,
85
- 'INCAR' :'get_incar' ,
86
- 'POSCAR' :'get_poscar' ,
84
+ 'Pseudopotentials' :'get_pp_name'
87
85
}
88
86
89
87
def get_result_functions (self ):
@@ -104,7 +102,6 @@ def get_result_functions(self):
104
102
'Forces' : 'get_forces' ,
105
103
'Total force' : 'get_total_force' ,
106
104
'Density' : 'get_density' ,
107
- 'OUTCAR' : 'get_outcar' ,
108
105
'Total magnetization' : 'get_total_magnetization' ,
109
106
'Stresses' : 'get_stresses'
110
107
}
Original file line number Diff line number Diff line change @@ -41,6 +41,21 @@ def _find_file(name):
41
41
self .eignval = _find_file ('EIGNVAL' )
42
42
43
43
def get_name (self ): return "VASP"
44
+
45
+ def get_setting_functions (self ):
46
+ settings = super (VaspParser , self ).get_setting_functions ()
47
+ settings .update ({
48
+ 'INCAR' : 'get_incar' ,
49
+ 'POSCAR' : 'get_poscar' ,
50
+ })
51
+ return settings
52
+
53
+ def get_output_functions (self ):
54
+ outputs = super (VaspParser , self ).get_output_functions ()
55
+ outputs .update ({
56
+ 'OUTCAR' : 'get_outcar' ,
57
+ })
58
+ return outputs
44
59
45
60
def get_output_structure (self ):
46
61
self .atoms = read_vasp_out (self .outcar )
You can’t perform that action at this time.
0 commit comments