Skip to content

Commit

Permalink
nbands value is added to LCAO calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
sblisesivdin committed Apr 15, 2024
1 parent f6abbd1 commit 7978d70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gpawsolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,20 +416,20 @@ def groundcalc(self):
if 'Ground_kpts_density' in globals() and Ground_kpts_density is not None:
calc = GPAW(mode='lcao', basis='dzp', setups= Setup_params, kpts={'density': Ground_kpts_density, 'gamma': Gamma},
convergence = Ground_convergence, h=Ground_gpts_density, spinpol=Spin_calc, txt=struct+'-1-Log-Ground.txt',
mixer=Mixer_type, occupations = Occupation, parallel={'domain': world.size}, charge=Total_charge)
mixer=Mixer_type, occupations = Occupation, nbands='200%', parallel={'domain': world.size}, charge=Total_charge)
else:
calc = GPAW(mode='lcao', basis='dzp', setups= Setup_params, kpts={'size':(Ground_kpts_x, Ground_kpts_y, Ground_kpts_z), 'gamma': Gamma},
convergence = Ground_convergence, h=Ground_gpts_density, spinpol=Spin_calc, txt=struct+'-1-Log-Ground.txt',
mixer=Mixer_type, occupations = Occupation, parallel={'domain': world.size}, charge=Total_charge)
mixer=Mixer_type, occupations = Occupation, nbands='200%', parallel={'domain': world.size}, charge=Total_charge)
else:
if 'Ground_kpts_density' in globals() and Ground_kpts_density is not None:
calc = GPAW(mode='lcao', basis='dzp', setups= Setup_params, kpts={'density': Ground_kpts_density, 'gamma': Gamma},
convergence = Ground_convergence, gpts=(Ground_gpts_x, Ground_gpts_y, Ground_gpts_z), spinpol=Spin_calc, txt=struct+'-1-Log-Ground.txt',
mixer=Mixer_type, occupations = Occupation, parallel={'domain': world.size}, charge=Total_charge)
mixer=Mixer_type, occupations = Occupation, nbands='200%', parallel={'domain': world.size}, charge=Total_charge)
else:
calc = GPAW(mode='lcao', basis='dzp', setups= Setup_params, kpts={'size':(Ground_kpts_x, Ground_kpts_y, Ground_kpts_z), 'gamma': Gamma},
convergence = Ground_convergence, gpts=(Ground_gpts_x, Ground_gpts_y, Ground_gpts_z), spinpol=Spin_calc, txt=struct+'-1-Log-Ground.txt',
mixer=Mixer_type, occupations = Occupation, parallel={'domain': world.size}, charge=Total_charge)
mixer=Mixer_type, occupations = Occupation, nbands='200%', parallel={'domain': world.size}, charge=Total_charge)
bulk_configuration.calc = calc
if Geo_optim == True:
if True in Relax_cell:
Expand Down

0 comments on commit 7978d70

Please sign in to comment.