Package ffx.potential.bonded
Class RelativeSolvation
java.lang.Object
ffx.potential.bonded.RelativeSolvation
A relative solvation term for chemical perturbations.
- Since:
- 1.0
- Author:
- Michael J. Schnieders, Jacob M. Litman
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Citations: Wolfenden et al: Wolfenden, R., Andersson, L., Cullis, P. -
Constructor Summary
ConstructorDescriptionRelativeSolvation
(RelativeSolvation.SolvationLibrary solvationLibrary, ForceField forceField) Constructor for RelativeSolvation. -
Method Summary
Modifier and TypeMethodDescriptiondouble
getSolvationEnergy
(Residue residue, boolean checkZeroes) Gets the solvation energy (de-solvation penalty) for a given residue, allowing for sequence optimization to include an estimate of energy relative to the unfolded state.toString()
-
Constructor Details
-
RelativeSolvation
public RelativeSolvation(RelativeSolvation.SolvationLibrary solvationLibrary, ForceField forceField) Constructor for RelativeSolvation.- Parameters:
solvationLibrary
- aRelativeSolvation.SolvationLibrary
object.forceField
- aForceField
object.
-
-
Method Details
-
getSolvationEnergy
public double getSolvationEnergy(Residue residue, boolean checkZeroes) throws IllegalArgumentException Gets the solvation energy (de-solvation penalty) for a given residue, allowing for sequence optimization to include an estimate of energy relative to the unfolded state.- Parameters:
residue
- Residue to checkcheckZeroes
- Throws an error if not in solvation energy library- Returns:
- Solvation energy
- Throws:
IllegalArgumentException
- if any.IllegalArgumentException
- if any.
-
toString
-