Add GPAW parameters to rows

parent ca0dc916
Pipeline #20947028 passed with stage
in 3 minutes and 10 seconds
from ase.db import connect
from import create_database
from gpaw import GPAW
from gpaw import GPAW, PW
def create_database_gpaw():
db = connect('systems.db')
systems = [row.toatoms() for row in]
db = connect('systems-gpaw.db')
for atoms in systems:
atoms.calc = GPAW(mode='lcao', txt=None)
if atoms.number_of_lattice_vectors != 3:
atoms.calc = GPAW(mode=PW(500), # 'lcao',
# basis='dzp',
kpts={'density': 2.0},
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment