JuliaMolSim / AtomsBase.jl

A Julian abstract interface for atomic structures.
https://juliamolsim.github.io/AtomsBase.jl/
MIT License
81 stars 16 forks source link

Support Cartesian indexing #24

Open rkurchin opened 2 years ago

rkurchin commented 2 years ago

In lattice-based systems such as those @Gregstrq works on, it will eventually be desirable to support Cartesian and not just linear indexing into AbstractSystem objects.

cortner commented 2 months ago

Very interesting option, but an implementation detail and easy enough to provide. In the interface update for 0.4.x we can just allow arbitrary indices rather than only Integer (needs a small rewrite of the document).