Package ffx.potential.parsers
Class ESVFilter
java.lang.Object
ffx.potential.parsers.ESVFilter
The ESVFilter class parses Extended System Restart (*.ESV) files.
- Since:
- 1.0
- Author:
- Andrew Thiel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLambdaHistogram
(List<Residue> titratingResidueList, int[][][] esvHistogram, double pH) boolean
readDYNboolean
writeESV
(File dynFile, double[] x, double[] v, double[] a, List<Residue> titrResList, int[][][] esvHist, double pH) Write the extended system variables to a file.
-
Constructor Details
-
ESVFilter
Constructor for ESVFilter.- Parameters:
label
- a Label for this restart file.
-
-
Method Details
-
getLambdaHistogram
-
readESV
readDYN- Parameters:
esvFile
- aFile
object.x
- an array of double.v
- an array of double.a
- an array of double.- Returns:
- a boolean.
-
writeESV
public boolean writeESV(File dynFile, double[] x, double[] v, double[] a, List<Residue> titrResList, int[][][] esvHist, double pH) Write the extended system variables to a file.- Parameters:
dynFile
- The file to write.x
- The extended system variables.v
- The extended system variable velocities.a
- The extended system variable accelerations.titrResList
- The List of titrating residues.esvHist
- The ESV histogram.pH
- The current pH.- Returns:
- True if the file was written successfully.
-