ASE.jl
ASE.jl copied to clipboard
Add missing convenience wrappers for energy, force, etc.
trafficstars
import JuLIP.forces, JuLIP.gradient, JuLIP.energy
gradient(calc::ASE.ASECalculator, at::Atoms) = gradient(calc, ASE.ASEAtoms(at))
forces(calc::ASE.ASECalculator, at::Atoms) = forces(calc, ASE.ASEAtoms(at))
energy(calc::ASE.ASECalculator, at::Atoms) = energy(calc, ASE.ASEAtoms(at))
plus maybe stress too
Thanks you - in general I think ASE.jl needs an overhaul.
The question is whether to wait until quippy can be incorporated into this and make it all based on py3
That's fair - although much of what we're doing doesn't use quippy at all, so we could move to Py3 already which will increase pressure on me to finish that conversion.