function InteratomicPotentials.energy_and_force(s::AbstractSystem, p::ACE)
B = evaluate_basis(s, p.basis_params)
dB = evaluate_basis_d(s, p.basis_params)
e = austrip.(B' * p.coefficients * 1u"eV")
f = [SVector(austrip.(d' * p.coefficients .* 1u"eV/Å")...) for d in dB]
return (; e, f)
end
MD simulations (example here) do not seem to work if it is not added.
MD simulations (example here) do not seem to work if it is not added.
See current implementation