Package ffx.algorithms.thermodynamics
Class LambdaReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
ffx.algorithms.thermodynamics.LambdaReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
Read in the current value of Lambda, its velocity and the number of counts.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get the index of the histogram associated with this lambda file.void
readLambdaFile
(boolean resetEnergyCount) Read the Lambda restart file.Methods inherited from class java.io.BufferedReader
close, lines, mark, markSupported, read, read, readLine, ready, reset, skip
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
LambdaReader
Constructor.- Parameters:
reader
- The Reader to use.
-
-
Method Details
-
getHistogramIndex
public int getHistogramIndex()Get the index of the histogram associated with this lambda file.- Returns:
- Associated histogram index.
-
readLambdaFile
public void readLambdaFile(boolean resetEnergyCount) Read the Lambda restart file.- Parameters:
resetEnergyCount
- Flag to indicate if the energy count should be read in.
-