Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pure Julia Atoms #63

Closed
1 task done
cortner opened this issue Jun 1, 2017 · 8 comments
Closed
1 task done

Pure Julia Atoms #63

cortner opened this issue Jun 1, 2017 · 8 comments

Comments

@cortner
Copy link
Member

cortner commented Jun 1, 2017

CC @jameskermode

I thought, we'd collect some ideas and action points to discuss how to and the consequences of a pure Julia Atoms object.

TODO

  • pure Julia neighbourlist (EDIT)
@cortner
Copy link
Member Author

cortner commented Jun 1, 2017

Q1: store positions, momenta as fields, or in a dictionary Dict{Any, Vector{JVecF}} for storing only arrays of 3-vectors, so they can be extracted without type instability.

Which other arrays need to be stored?

  • masses
  • atomic numbers
  • species symbols

@cortner
Copy link
Member Author

cortner commented Jan 31, 2018

Storing the cell as a matrix creates ambiguities. Are the columns or the rows the cell vectors? I would like to switch storing the cell as a list of vectors,

# either 
Tuple{JVec, JVec, JVec}
# or 
Vector{JVec}

Any concerns?

@cortner
Copy link
Member Author

cortner commented Mar 8, 2018

I won't do this, to keep compatibility with ASE. But instead introduced cell_vecs to get the vectors instead of the matrix.

@cortner cortner closed this as completed Mar 8, 2018
@gabor1
Copy link

gabor1 commented Mar 8, 2018 via email

@jameskermode
Copy link
Collaborator

Normally I would agree, but the function that goes from matrix to vector is already called vecs()

@cortner
Copy link
Member Author

cortner commented Mar 9, 2018

Normally I would agree, but the function that goes from matrix to vector is already called vecs()

that was the reason, but I'll think about it.

@gabor1
Copy link

gabor1 commented Mar 9, 2018 via email

@cortner
Copy link
Member Author

cortner commented Mar 9, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants