Package ffx.potential.parsers
Class OpenMMXmlFilter
java.lang.Object
ffx.potential.parsers.OpenMMXmlFilter
The OpenMMXmlFilter class creates an OpenMM-style XML file from a ForceField object. Work is underway to parse
OpenMM XML files into ForceField objects (AMBER invalid input: '&' CHARMM).
- Author:
- Jacob M. Miller
-
Constructor Summary
ConstructorDescriptionOpenMMXmlFilter
(ForceField forceField) Constructor for outputting XML.OpenMMXmlFilter
(ForceField forceField, String saveName) Constructor for outputting XML with output path specified. -
Method Summary
Modifier and TypeMethodDescriptionvoid
toXML()
Create an OpenMM XML file for the given force field.
-
Constructor Details
-
OpenMMXmlFilter
Constructor for outputting XML.- Parameters:
forceField
- aForceField
object.
-
OpenMMXmlFilter
Constructor for outputting XML with output path specified.- Parameters:
forceField
- aForceField
object.saveName
- a String with the output path.
-
-
Method Details
-
toXML
Create an OpenMM XML file for the given force field.- Throws:
Exception
-