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
Nested ClassesModifier and TypeClassDescriptionstatic enumCitations: Wolfenden et al: Wolfenden, R., Andersson, L., Cullis, P. -
Constructor Summary
ConstructorsConstructorDescriptionRelativeSolvation(RelativeSolvation.SolvationLibrary solvationLibrary, ForceField forceField) Constructor for RelativeSolvation. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetSolvationEnergy(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.SolvationLibraryobject.forceField- aForceFieldobject.
-
-
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
-