Skip to content
This repository has been archived by the owner on Dec 6, 2017. It is now read-only.

Latest commit

 

History

History
25 lines (17 loc) · 613 Bytes

frame.rst

File metadata and controls

25 lines (17 loc) · 613 Bytes

Frame

A Frame object holds the data which is specific to one step of a simulation. It is defined as:

type Frame
    positions::Array3D
    velocities::Array3D
    step::Integer
end

i.e. it contains information about the current step, the current positions, and possibly the current velocities. If there is no velocity information, the velocities Array3D <type-array3d> is a 0-sized array.

The Frame type have the following constructor:

Frame([natom=0])

Creates a frame with space for natoms particles.