Closed samwaseda closed 3 years ago
From my perspective selective_dynamics
is vestigial VASP-centric syntax that should be purged. From a quick google Vasp is the main (only?) code that uses this phrase, and it's not a native part of the ase.Atoms
, but ASE has it tucked away in ase.io.vasp
. We don't associate forces, energies, or even velocities with Atoms
right now (although for velocities one can make a good case!) so why magic freezing? This should be handled by whatever is doing the evolution.
With that said, we do currently use it, so the complaint it's not in the tab-completion is totally fair. I'd only request that we hide it behind an underscore (my_structure._selective_dynamics
) so we're not on the hook for backwards compatibility 😝
@samwaseda I think the linked PR should fix this
From my perspective
selective_dynamics
is vestigial VASP-centric syntax that should be purged. From a quick google Vasp is the main (only?) code that uses this phrase, and it's not a native part of thease.Atoms
, but ASE has it tucked away inase.io.vasp
. We don't associate forces, energies, or even velocities withAtoms
right now (although for velocities one can make a good case!) so why magic freezing? This should be handled by whatever is doing the evolution.
I see your point and it would eventually make sense to attach this to the calculator rather than the structure. This tag is attached to the Atoms
object for historical reasons. The name, even though VASP centric makes sense to me though (maybe I'm biased because I mostly use VASP for atomistic simulations).
With that said, we do currently use it, so the complaint it's not in the tab-completion is totally fair. I'd only request that we hide it behind an underscore (my_structure._selective_dynamics) so we're not on the hook for backwards compatibility 😝
I think a lot of our existing protocols would fail if we change this though so I'm not sure about this! We should at least bring it up in one of the pyiron meetings
I guess whether VASP-centric or not is a smaller problem. The bigger problem is that the name selective_dynamics
not only does not give you an intuitively clear idea what it means, but also even if you know what it in principle does, it's impossible to know whether True
freezes the atoms or False
.
@sudarsan-surendralal Is there a particular reason that this issue should be reopened?
The original issue is solved. But I thought the naming and the fact that it is tagged to the Atoms
class isn't solved.
Ok but that's a different topic so I'm gonna close this one.
From what I know even after setting:
selective_dynamics
does not appear in the tab completion list, even though it can (or maybe even should?) still be accessed viastructure.selective_dynamics
. I wouldn't call it a bug but it would be really nice to have it tab-completable.