Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Sep 11, 2023
1 parent 2cef9b8 commit ba59ab2
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions atomistics/calculators/siesta_ase/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

def get_potential_energy_from_siesta(
structure,
label='siesta',
xc='PBE',
label="siesta",
xc="PBE",
mesh_cutoff=200 * Ry,
energy_shift=0.01 * Ry,
basis_set='DZ',
basis_set="DZ",
kpts=(5, 5, 5),
fdf_arguments={'DM.MixingWeight': 0.1, 'MaxSCFIterations': 100},
pseudo_path=os.path.abspath('.'),
pseudo_qualifier='',
fdf_arguments={"DM.MixingWeight": 0.1, "MaxSCFIterations": 100},
pseudo_path=os.path.abspath("."),
pseudo_qualifier="",
):
structure.calc = Siesta(
label=label,
Expand All @@ -32,15 +32,15 @@ def get_potential_energy_from_siesta(

def get_forces_from_siesta(
structure,
label='siesta',
xc='PBE',
label="siesta",
xc="PBE",
mesh_cutoff=200 * Ry,
energy_shift=0.01 * Ry,
basis_set='DZ',
basis_set="DZ",
kpts=(5, 5, 5),
fdf_arguments={'DM.MixingWeight': 0.1, 'MaxSCFIterations': 100},
pseudo_path=os.path.abspath('.'),
pseudo_qualifier='',
fdf_arguments={"DM.MixingWeight": 0.1, "MaxSCFIterations": 100},
pseudo_path=os.path.abspath("."),
pseudo_qualifier="",
):
structure.calc = Siesta(
label=label,
Expand All @@ -58,15 +58,15 @@ def get_forces_from_siesta(

def evaluate_with_siesta(
task_dict,
label='siesta',
xc='PBE',
label="siesta",
xc="PBE",
mesh_cutoff=200 * Ry,
energy_shift=0.01 * Ry,
basis_set='DZ',
basis_set="DZ",
kpts=(5, 5, 5),
fdf_arguments={'DM.MixingWeight': 0.1, 'MaxSCFIterations': 100},
pseudo_path=os.path.abspath('.'),
pseudo_qualifier='',
fdf_arguments={"DM.MixingWeight": 0.1, "MaxSCFIterations": 100},
pseudo_path=os.path.abspath("."),
pseudo_qualifier="",
):
result_dict = {}
if "calc_energy" in task_dict.keys():
Expand Down

0 comments on commit ba59ab2

Please sign in to comment.