Skip to content

Commit

Permalink
test_PyACECalculator.py: add ZBL_rep.yaml to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury Lysogorskiy committed Nov 22, 2023
1 parent 0ab8843 commit b91cff1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions tests/ZBL_rep.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
global:
DeltaSplineBins: 0.001
species:
- speciesblock: H
ndensityi: 1
npoti: FinnisSinclairShiftedScaled
parameters: [1, 1]
rho_core_cut: 0
drho_core_cut: 0
nradmaxi: 0
lmaxi: 0
rcutij: 5
dcutij: 0.01
NameOfCutoffFunctionij: ""
r_in: 3
delta_in: 1
inner_cutoff_type: zbl
nradbaseij: 5
radbase: SBessel
radparameters: [2]
radcoefficients: []
core-repulsion: [1, 1]
nbody:
- {type: H H, nr: [1], nl: [0], c: [0]}
- {type: H H, nr: [2], nl: [0], c: [0]}
- {type: H H, nr: [3], nl: [0], c: [0]}
- {type: H H, nr: [4], nl: [0], c: [0]}
- {type: H H, nr: [5], nl: [0], c: [0]}
2 changes: 1 addition & 1 deletion tests/test_PyACECalculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def test_PyACEEnsembleCalculator():


def test_ZBL_analytical_derivative():
calc = PyACECalculator("lib/ace/test/fitting/potentials/ZBL_rep.yaml")
calc = PyACECalculator("tests/ZBL_rep.yaml")

def check(at, msg):
at.set_calculator(calc)
Expand Down

0 comments on commit b91cff1

Please sign in to comment.