jarvis.tasks.vasp package¶
Submodules¶
jarvis.tasks.vasp.vasp module¶
Modules for high-throughput VASP calculations.
-
class
jarvis.tasks.vasp.vasp.GenericIncars(name='', incar={}, pot_type='')[source]¶ Bases:
objectConstruct class containing severalgeneric Incar object.
For different psuedopotentials
-
class
jarvis.tasks.vasp.vasp.JobFactory(name='Jobs', poscar=None, use_incar_dict={}, vasp_cmd='', pot_type='POT_GGA_PAW_PBE', copy_files=[], attempts=5, stderr_file='std_err.txt', output_file='vasp.out', optional_params={'Uval': 2.0, 'encut': 500, 'extension': 'SCAN', 'kpleng': 20, 'kppa': 1000, 'ldau': False, 'line_density': 20, 'run_wannier': True, 'wann_cmd': '~/bin/wannier90.x wannier90', 'wt_cmd': '~/bin/wt.x'}, steps=['ENCUT', 'KPLEN', 'RELAX', 'BANDSTRUCT', 'LOPTICS', 'MBJOPTICS', 'ELASTIC', 'SPILLAGE', 'EFG', 'MAGORDER', 'DFPT', 'RAMANINTS', 'SHG'])[source]¶ Bases:
objectProvide sets of VASP calculations.
-
band_structure(mat=None, encut=None, line_density=20, nbands=None, copy_prev_chgcar=None)[source]¶ Use in band-structure calculations.
- Args:
mat : Poscar object
encut : Plane-wave cut-off, 1.3 times will be used
nbands : number of bands, increased to threee times
- line_density : number of k-points between two
- high-symmetry k-points
copy_prev_chgcar : path of CHGCAR file for Non-SCF step
-
converg_encut(encut=500, mat=None, starting_length=10, tol=0.001)[source]¶ Provide function to converg plane-wave cut-off.
- Args:
encut: intial cutoff
mat: Poscar object
- Returns:
- encut: converged cut-off
-
converg_kpoint(length=0, mat=None, encut=500, tol=0.001)[source]¶ Provide function to converg K-points.
- Args:
lenght: K-point line density
mat: Poscar object with structure information
- Returns:
- length1: K-point line density
-
dfpt(mat=None, encut=None, nbands=None, length=20)[source]¶ Use for density functional perturbation theory calculation.
- Args:
mat : Poscar object
encut : Plane-wave cut-off, 1.3 times will be used
nbands : number of bands, increased to threee times
length : K-points in length unit
-
efg(mat=None, encut=None, nbands=None, length=20)[source]¶ Use for electric field gradient calculation.
- Args:
mat : Poscar object
encut : Plane-wave cut-off, 1.3 times will be used
nbands : number of bands, increased to threee times
length : K-points in length unit
-
elastic(mat=None, encut=None, nbands=None, potim=0.015, npar=None, length=20)[source]¶ Use for elastic property calculations using IBRION = 6.
Enforces conventional standard structure.
- Args:
mat : Poscar object
encut : Plane-wave cut-off, 1.3 times will be used
nbands : number of bands, generally high-value recommended
npar : NPAR tag, see VASP manual, set it as number of cores
length : K-points in length unit
-
loptics(mat=None, encut=None, nbands=None, length=20)[source]¶ Use in linear-optics calculations.
- Args:
mat : Poscar object
encut : Plane-wave cut-off, 1.3 times will be used
nbands : number of bands, increased to threee times
length : K-points in length unit
-
magorder(min_configs=3, length=20)[source]¶ Determine structures for FM, AFM, FiM magnetic ordering.
-
mbj_loptics(mat=None, encut=None, nbands=None, length=20)[source]¶ Use for TBmBJ meta-GGA calculation.
- Args:
mat : Poscar object
encut : Plane-wave cut-off, 1.3 times will be used
nbands : number of bands, increased to threee times
length : K-points in length unit
-
optimize_geometry(mat=None, encut=None, length=None)[source]¶ Use in optimizing lattice-parameter and internal psotions.
- Args:
mat : Poscar object
encut : Plane-wave cut-off
length : K-points in length unit
-
-
class
jarvis.tasks.vasp.vasp.VaspJob(poscar=None, kpoints=None, incar=None, potcar=None, vasp_cmd='mpirun vasp_std', output_file='vasp.out', stderr_file='std_err.txt', jobname='test', pot_type=None, copy_files=['/users/knc6/bin/vdw_kernel.bindat'], attempts=5)[source]¶ Bases:
objectConstruct a VASP calculation job.
-
jarvis.tasks.vasp.vasp.write_jobfact(pyname='job.py', job_json='', input_arg='v.soc_spillage()\n')[source]¶ Write template job.py with JobFactory.to_dict() job.json.
Module contents¶
Modules for running high-throughput VASP calculations.