def _read_frame(self):
pos = np.zeros((self.num_atoms, <NUM_LIT:3>), float)<EOL>vel = np.zeros((self.num_atoms, <NUM_LIT:3>), float)<EOL>for i in range(self.num_atoms):<EOL><INDENT>line = next(self._f)<EOL>words = line.split()<EOL>pos[i, <NUM_LIT:0>] = float(words[<NUM_LIT:1>])<EOL>pos[i, <NUM_LIT:1>] = float(words[<NUM_LIT:2>])<EOL>pos[i, <NUM_LIT:2>] = float(words[<NUM_LIT:3>])<EOL>vel[i, <NUM_LIT:0>] = float(words[<NUM_LIT:4>])<EOL>vel[i, <NUM_LIT:1>] = float(words[<NUM_LIT:5>])<EOL>vel[i, <NUM_LIT:2>] = float(words[<NUM_LIT:6>])<EOL><DEDENT>return pos, vel<EOL>
Read and return the next time frame