Package ffx.potential.parameters
Class BaseType
java.lang.Object
ffx.potential.parameters.BaseType
- Direct Known Subclasses:
AngleTorsionType
,AngleType
,AtomType
,BioType
,BondType
,ChargeType
,ImproperTorsionType
,MultipoleType
,OutOfPlaneBendType
,PiOrbitalTorsionType
,PolarizeType
,RelativeSolvationType
,SoluteType
,StretchBendType
,StretchTorsionType
,TorsionTorsionType
,TorsionType
,UreyBradleyType
,VDWPairType
,VDWType
All force field types should extend the BaseType class.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBaseType
(ForceField.ForceFieldType forceFieldType, int[] keys) Public constructor.BaseType
(ForceField.ForceFieldType forceFieldType, String key) Public constructor. -
Method Summary
-
Field Details
-
key
The look-up key for this term, which is usually a concatenation of atom classes or atom types.
-
-
Constructor Details
-
BaseType
Public constructor.- Parameters:
forceFieldType
- aForceField.ForceFieldType
object.keys
- an array of int.- Since:
- 1.0
-
BaseType
Public constructor.- Parameters:
forceFieldType
- aForceField.ForceFieldType
object.key
- aString
object.- Since:
- 1.0
-
-
Method Details
-
getKey
Get thekey
for this Type.- Returns:
- the key
- Since:
- 1.0
-
setKey
public void setKey(int[] keys) Setter for the fieldkey
.- Parameters:
keys
- an array of int.
-
setKey
Setter for the fieldkey
.- Parameters:
key
- aString
object.
-
log
public void log()Logthis
type.- Since:
- 1.0
-
print
public void print()Printthis
to System.out.- Since:
- 1.0
-
toString
Basic toString method.
-