org.jmol.adapter.readers.more
Class ForceFieldReader

java.lang.Object
  extended by org.jmol.adapter.smarter.AtomSetCollectionReader
      extended by org.jmol.adapter.readers.more.ForceFieldReader
Direct Known Subclasses:
MdTopReader, Mol2Reader

public abstract class ForceFieldReader
extends AtomSetCollectionReader


Field Summary
private  java.util.Properties atomTypes
           
private static java.lang.String ffTypes
           
private static java.lang.String secondCharOnly
           
private static java.lang.String specialTypes
           
private static java.lang.String twoChar
           
private  java.lang.String userAtomTypes
           
 
Fields inherited from class org.jmol.adapter.smarter.AtomSetCollectionReader
addVibrations, ANGSTROMS_PER_BOHR, applySymmetryToBonds, atomSetCollection, bsFilter, bsModels, calculationType, continuing, desiredModelNumber, desiredVibrationNumber, doApplySymmetry, doc, doCheckUnitCell, doPackUnitCell, doProcessLines, filter, filterHetero, getHeader, haveModel, havePartialChargeFilter, htParams, ignoreFileSpaceGroupName, ignoreFileSymmetryOperators, ignoreFileUnitCell, iHaveFractionalCoordinates, iHaveSymmetryOperators, iHaveUnitCell, isBinary, isSequential, isTrajectory, latticeCells, line, matUnitCellOrientation, modelNumber, next, notionalUnitCell, os, prevline, ptLine, reader, readerName, readMolecularOrbitals, spaceGroup, stateScriptVersionInt, supercell, symmetry, templateAtomCount, useAltNames, vibrationNumber, viewer
 
Constructor Summary
ForceFieldReader()
           
 
Method Summary
protected static java.lang.String deducePdbElementSymbol(boolean isHetero, java.lang.String XX, java.lang.String group3)
           
protected  boolean getElementSymbol(Atom atom, java.lang.String atomType)
           
protected  void setUserAtomTypes()
           
 
Methods inherited from class org.jmol.adapter.smarter.AtomSetCollectionReader
addJmolScript, addPrimitiveLatticeVector, addSites, addSiteScript, appendLoadNote, applySymmetryAndSetTrajectory, checkFilter, checkLastModel, checkLine, checkLineForScript, checkLineForScript, clearUnitCell, cloneLastAtomSet, discardLinesUntilBlank, discardLinesUntilContains, discardLinesUntilContains, discardLinesUntilNonBlank, discardLinesUntilStartsWith, doGetModel, doGetVibration, fillDataBlock, fillDataBlock, fillFloatArray, fillFrequencyData, filterAtom, finalizeReader, getElementSymbol, getFortranFormatLengths, getStrings, getSymmetry, getTokens, getTokens, getTokens, getTokensFloat, initializeReader, initializeSymmetry, isLastModel, newAtomSet, parseFloat, parseFloat, parseFloat, parseInt, parseInt, parseInt, parseInt, parseStringInfestedFloatArray, parseToken, parseToken, parseToken, parseTokenNext, parseTrimmed, parseTrimmed, processBinaryDocument, processXml, read3Vectors, readData, readLine, readLines, set2D, setAtomCoord, setAtomCoord, setFilter, setFractionalCoordinates, setIsPDB, setMOData, setPdb, setSpaceGroupName, setSymmetryOperator, setTransform, setUnitCell, setUnitCellItem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ffTypes

private static final java.lang.String ffTypes
See Also:
Constant Field Values

twoChar

private static final java.lang.String twoChar
See Also:
Constant Field Values

specialTypes

private static final java.lang.String specialTypes
See Also:
Constant Field Values

secondCharOnly

private static final java.lang.String secondCharOnly
See Also:
Constant Field Values

userAtomTypes

private java.lang.String userAtomTypes

atomTypes

private java.util.Properties atomTypes
Constructor Detail

ForceFieldReader

public ForceFieldReader()
Method Detail

setUserAtomTypes

protected void setUserAtomTypes()

getElementSymbol

protected boolean getElementSymbol(Atom atom,
                                   java.lang.String atomType)

deducePdbElementSymbol

protected static java.lang.String deducePdbElementSymbol(boolean isHetero,
                                                         java.lang.String XX,
                                                         java.lang.String group3)