Package ffx.potential.parameters
Class SoluteType
java.lang.Object
ffx.potential.parameters.BaseType
ffx.potential.parameters.SoluteType
- All Implemented Interfaces:
Comparator<String>
@FFXProperty(name="solute",
clazz=java.lang.String.class,
propertyGroup=PotentialFunctionParameter,
description="[integers and 4 reals]\nProvides values for a single implicit solvation parameter.\nThe integer modifier gives the atom type number for which solvation atom size parameters are to be defined.\nThe first three real number modifiers give the values of the atomic diameter in Angstroms,\nfor use in Poisson-Boltzmann (APBS), ddCOSMO and Generalized Kirkwood (GK) calculations, respectively.\nThe final real number is the Sneck scaling factor for implicit solvent interstitial space corrections.\n")
public final class SoluteType
extends BaseType
implements Comparator<String>
The SoluteType class defines one implicit solvent radius.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleSolute atomic diameter for ddCOSMO.doubleOptional SMARTS description.doubleSolute atomic diameter for GK.doubleSolute atomic diameter for PB.doubleSneck scaling factor to use with interstitial space corrections -
Constructor Summary
ConstructorsConstructorDescriptionSoluteType(int atomType, double diameter) Constructor for SoluteType.SoluteType(int atomType, double pbDiameter, double cosDiameter, double gkDiameter) Constructor for SoluteType.SoluteType(int atomType, double pbDiameter, double cosDiameter, double gkDiameter, double sneck) Constructor for SoluteType.SoluteType(int atomType, String description, double pbDiameter, double cosDiameter, double gkDiameter) Constructor for SoluteType. -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic SoluteTypegetCensusSoluteType(int atomicNumber) static SoluteTypegetFitSoluteType(ForceField forceField, int type) static SoluteTypegetSoluteType(Atom atom, ForceField forceField, SoluteType.SOLUTE_RADII_TYPE soluteRadiiType) static SoluteTypegetVDWSoluteType(VDWType vdwType) inthashCode()static SoluteTypeConstruct a SoluteType from an input string.static voidsetSoluteRadii(ForceField forceField, Atom[] atoms, SoluteType.SOLUTE_RADII_TYPE soluteRadiiType) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
pbDiameter
public double pbDiameterSolute atomic diameter for PB. -
cosDiameter
public double cosDiameterSolute atomic diameter for ddCOSMO. -
gkDiameter
public double gkDiameterSolute atomic diameter for GK. -
sneck
public double sneckSneck scaling factor to use with interstitial space corrections -
DEFAULT_SNECK
public double DEFAULT_SNECK -
description
Optional SMARTS description.
-
-
Constructor Details
-
SoluteType
public SoluteType(int atomType, double diameter) Constructor for SoluteType.- Parameters:
atomType- Atom type.diameter- Diameter for all continuum electrostatics models.
-
SoluteType
public SoluteType(int atomType, double pbDiameter, double cosDiameter, double gkDiameter) Constructor for SoluteType.- Parameters:
atomType- Atom type.pbDiameter- Diameter for PB continuum electrostatics.cosDiameter- Diameter for ddCOSMO continuum electrostatics.gkDiameter- Diameter for GK continuum electrostatics.
-
SoluteType
public SoluteType(int atomType, double pbDiameter, double cosDiameter, double gkDiameter, double sneck) Constructor for SoluteType.- Parameters:
atomType- Atom type.pbDiameter- Diameter for PB continuum electrostatics.cosDiameter- Diameter for ddCOSMO continuum electrostatics.gkDiameter- Diameter for GK continuum electrostatics.sneck- Sneck scaling factor for implicit solvent interstitial space corrections
-
SoluteType
public SoluteType(int atomType, String description, double pbDiameter, double cosDiameter, double gkDiameter) Constructor for SoluteType.- Parameters:
atomType- Atom type.description- Smarts description.pbDiameter- Diameter for PB continuum electrostatics.cosDiameter- Diameter for ddCOSMO continuum electrostatics.gkDiameter- Diameter for GK continuum electrostatics.
-
-
Method Details
-
parse
Construct a SoluteType from an input string.- Parameters:
input- The overall input String.tokens- The input String tokenized.- Returns:
- a SoluteType instance.
-
compare
- Specified by:
comparein interfaceComparator<String>
-
equals
- Specified by:
equalsin interfaceComparator<String>- Overrides:
equalsin classObject
-
hashCode
public int hashCode() -
toString
Basic toString method.
Nicely formatted bond stretch string.
-
getCensusSoluteType
-
getVDWSoluteType
-
getFitSoluteType
-
getSoluteType
public static SoluteType getSoluteType(Atom atom, ForceField forceField, SoluteType.SOLUTE_RADII_TYPE soluteRadiiType) -
setSoluteRadii
public static void setSoluteRadii(ForceField forceField, Atom[] atoms, SoluteType.SOLUTE_RADII_TYPE soluteRadiiType)
-