dfttopif.parsers.pwscf module

class dfttopif.parsers.pwscf.PwscfParser(directory)[source]

Bases: dfttopif.parsers.base.DFTParser

Parser for PWSCF calculations

get_KPPRA()[source]

Determine the no. of k-points in the BZ (from the input) times the no. of atoms (from the output)

get_U_settings()[source]

Determine the DFT+U type and parameters from the output

get_band_gap()[source]

Compute the band gap from the DOS

get_cutoff_energy()[source]

Determine the cutoff energy from the output

get_dos()[source]

Find the total DOS shifted by the Fermi energy

get_forces()[source]
get_incar()[source]
get_name()[source]
get_outcar()[source]
get_output_structure()[source]

Determine the structure from the output

get_poscar()[source]
get_pp_name()[source]

Determine the pseudopotential names from the output

get_pressure()[source]

Determine the pressure from the output

get_stresses()[source]

Determine the stress tensor from the output

get_total_energy()[source]

Determine the total energy from the output

get_vdW_settings()[source]

Determine the vdW type if using vdW xc functional or correction scheme from the input otherwise

get_version_number()[source]

Determine the version number from the output

get_xc_functional()[source]

Determine the xc functional from the output

is_relaxed(x)
test_if_from(directory)[source]

Look for PWSCF input and output files

uses_SOC(x)