Skip to content

Input files, periodic boundary conditions #133

Answered by Linux-cpp-lisp
schiotz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Jakob,

Generally we recommend extxyz (ASE's favorite format) as the easiest and most flexible way to deal with data. In particular, it can handle your second point. The npz format only handles rectangular inputs where the number of atoms does not change, and we do not at this point have support for combining multiple datasets specified separately--- this is supported through combining them in preprocessing instead.

Point by point:

  1. For npz, you provide a cell array of shape [n_frame, 3, 3] or [3, 3]. If the latter, you must also set
npz_fixed_field_keys:
  - cell

so that it knows that the same single cell is shared across all frames.
For extxyz, writing out the file through ASE will …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@schiotz
Comment options

@Linux-cpp-lisp
Comment options

@schiotz
Comment options

@schiotz
Comment options

@Linux-cpp-lisp
Comment options

Answer selected by schiotz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants