Package ffx.potential.cli
Class WriteoutOptions
java.lang.Object
ffx.potential.cli.WriteoutOptions
Represents command line options for scripts that periodically write out structures.
- Since:
- 1.0
- Author:
- Michael J. Schnieders, Soham Ali
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldfileType
.saveFile
(String baseFileName, PotentialsFunctions potentialsFunctions, MolecularAssembly molecularAssembly) Saves a single-snapshot file to either .xyz or .pdb, depending on the value of fileType.static String
toArchiveExtension
(String fileType)
-
Field Details
-
fileType
-F or --fileFormat Choose the file type to write [PDB/XYZ].
-
-
Constructor Details
-
WriteoutOptions
public WriteoutOptions()
-
-
Method Details
-
toArchiveExtension
-
getFileType
Getter for the fieldfileType
.- Returns:
- a
String
object.
-
saveFile
public File saveFile(String baseFileName, PotentialsFunctions potentialsFunctions, MolecularAssembly molecularAssembly) Saves a single-snapshot file to either .xyz or .pdb, depending on the value of fileType.- Parameters:
baseFileName
- Basic file name without extension.potentialsFunctions
- A PotentialFunctions object.molecularAssembly
- MolecularAssembly to save.- Returns:
- File written to.
-