FFAtom

FFAtom

Table 6.9. FFAtom type members

MemberTypeAccessDescription
elementselementroArray of element data (masses, symbols, names, etc.)
chargedoublerwCharge associated to the type
datadouble[6]rwParameter data for short-range potential
descriptionstringrwText data describing the type
equivalentstringrwEquivalent name for the type
formstringrwFunctional form of short-range potential
idintroInternal ID of the atom type within its parent forcefield
namestringrwName of the type
netastringroThe original type description used to identify the type
ffforcefieldroParent forcefield containing the type
zintrwElement id (Z) corresponding to the target element of this type

Table 6.10. FFAtom type functions

FunctionReturn TypeDescription
datad ( string varname )doubleReturn the value of the defined data item varname as a double if it has been defined in a data block in its encompassing forcefield.
datai ( string varname )intReturn the value of the defined data item varname as an integer if it has been defined in a data block in its encompassing forcefield.
datas ( string varname )stringReturn the value of the defined data item varname as a string if it has been defined in a data block in its encompassing forcefield.
generatord ( string varname )doubleReturn the value of the defined generator data varname as a double if it has been defined in a generator block in its encompassing forcefield.
generatori ( string varname )intReturn the value of the defined generator data varname as an integer if it has been defined in a generator block in its encompassing forcefield.
generators ( string varname )stringReturn the value of the defined generator data varname as a string if it has been defined in a generator block in its encompassing forcefield.