Package ffx.potential.parsers
Class DYNFilter
java.lang.Object
ffx.potential.parsers.DYNFilter
The DYNFilter class parses TINKER Restart (*.DYN) files.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DYNFilter
Constructor for DYNFilter.- Parameters:
label
- a Label for the restart file.
-
-
Method Details
-
readDYN
public boolean readDYN(File dynFile, Crystal crystal, double[] x, double[] v, double[] a, double[] ap) readDYN -
writeDYN
public boolean writeDYN(File dynFile, Crystal crystal, double[] x, double[] v, double[] a, double[] ap) writeDYN- Parameters:
dynFile
- The file to write.crystal
- The crystal unit cell.x
- The atomic coordinates.v
- The atomic velocities.a
- The atomic accelerations.ap
- The atomic previous accelerations.- Returns:
- Returns true if the file was written successfully.
-