Package ffx.potential.parsers
Class BARFilter
java.lang.Object
ffx.potential.parsers.BARFilter
The BARFilter class parses TINKER bar(*.BAR) files.
- Since:
- 1.0
- Author:
- Rose A. Gogal
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BARFilter
BARFilter constructor- Parameters:
barFile
- aList
object.
-
BARFilter
BARFilter constructor -
BARFilter
public BARFilter(File xyzFile, double[] e1l1, double[] e1l2, double[] e2l1, double[] e2l2, double[] volume1, double[] volume2, double temp) BARFilter constructor- Parameters:
xyzFile
- aList
object.e1l1
- energy in ensemble 1 at lambda 1e1l2
- energy in ensemble 1 at lambda 2e2l1
- energy in ensemble 2 at lambda 1e2l2
- energy in ensemble 2 at lambda 2volume1
- volume in ensemble 1volume2
- volume in ensemble 2temp
- temperature
-
-
Method Details
-
readFile
public boolean readFile()Read TINKER bar files and parse the snapshots into energy arrays- Returns:
- True if the file was read successfully.
-
writeFile
Write TINKER bar files- Parameters:
saveFile
- The file to write to.isPBC
- include volume in the output file.- Returns:
- True if successful.
-
getE1l1
public double[] getE1l1() -
getE2l1
public double[] getE2l1() -
getE2l2
public double[] getE2l2() -
getE1l2
public double[] getE1l2() -
getVolume1
public double[] getVolume1() -
getVolume2
public double[] getVolume2() -
getSnaps
public int getSnaps()
-