Class MOReader
java.lang.Object
org.jmol.adapter.smarter.AtomSetCollectionReader
org.jmol.adapter.readers.quantum.BasisFunctionReader
org.jmol.adapter.readers.quantum.MOReader
- All Implemented Interfaces:
GenericLineReader
- Direct Known Subclasses:
AdfReader, CsfReader, DgridReader, GamessReader, GaussianReader, GenNBOReader, JaguarReader, MoldenReader, MopacGraphfReader, NWChemReader, OrcaReader, PsiReader, QchemReader, WebMOReader
General methods for reading molecular orbital data, including embedded output
from the NBO program. In particular, when the AONBO keyword is included.
requires the following sort of construct:
public AtomSetCollection readAtomSetCollection(BufferedReader reader) {
readAtomSetCollection(reader, "some type");
}
protected boolean checkLine() {
if (line.indexOf(...)) {
doThis();
return true/false;
}
if (line.indexOf(...)) {
doThat();
return true/false;
}
return checkNboLine();
}
-
Nested Class Summary
Nested classes/interfaces inherited from class BasisFunctionReader
BasisFunctionReader.MOEnergySorter -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected booleanintfloat[][]protected booleanprotected booleanprotected final intprotected final intprotected final intprotected final intprotected booleanintFields inherited from class BasisFunctionReader
alphaBeta, dfCoefMaps, haveCoefs, ignoreMOs, moData, nCoef, nOrbitals, orbitals, shells, slaterArray, slatersFields inherited from class AtomSetCollectionReader
addedData, addedDataKey, addVibrations, allow_a_len_1, allowPDBFilter, ANGSTROMS_PER_BOHR, applySymmetryToBonds, asc, baseAtomIndex, baseBondIndex, binaryDoc, bsFilter, bsModels, calculationType, CELL_TYPE_CONVENTIONAL, CELL_TYPE_PRIMITIVE, CELL_TYPE_SUPER, cellSlop, centroidPacked, checkNearAtoms, continuing, debugging, desiredModelNumber, desiredSpaceGroupIndex, desiredVibrationNumber, doApplySymmetry, doCentralize, doCentroidUnitCell, doCheckUnitCell, doConvertToFractional, doPackUnitCell, doProcessLines, doReadMolecularOrbitals, dssr, fileName, fileOffset, filePath, fileScaling, fillRange, filter, filterAllHetero, filterCased, filteredPrecision, filterHetero, floatifyJavaDouble, forcePacked, getHeader, haveAtomFilter, haveModel, havePartialChargeFilter, htParams, ignoreFileSpaceGroupName, ignoreFileSymmetryOperators, ignoreFileUnitCell, ignoreStructure, iHaveFractionalCoordinates, iHaveSymmetryOperators, iHaveUnitCell, is2D, isBinary, isConcatenated, isDSSP1, isFinalized, isMolecular, isPrimitive, isSequential, isSUPERCELL, isTrajectory, latticeCells, latticeScaling, latticeType, line, lowPrecision, lstNCS, matUnitCellOrientation, merging, modDim, modelNumber, ms, mustFinalizeModelSet, next, noHydrogens, noMinimize, noPack, optimize2D, out, paramsCentroid, paramsLattice, precision, prevline, primitiveToCrystal, ptLine, ptSupercell, reader, readerName, requiresBSFilter, reverseModels, rotateHexCell, sgName, slabXY, stateScriptVersionInt, strSupercell, symmetry, templateAtomCount, thisBiomolecule, trajectorySteps, ucItems, unitCellOffset, unitCellParams, useAltNames, useFileModelNumbers, validation, vibrationNumber, vibsFractional, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidprotected voidSee MopacSlaterReaderprotected booleanprotected voidgetMOHeader(int headerType, String[] tokens, Map<String, Object>[] mos, int nThisLine) protected voidprotected voidprotected voidreadMolecularOrbitals(int headerType) voidsetMOData(boolean clearOrbitals) Methods inherited from class BasisFunctionReader
canonicalizeQuantumSubshellTag, clearOrbitals, discardPreviousAtoms, enableShell, filterMO, fixSlaterTypes, getDfCoefMaps, getDFMap, getQuantumShellTag, getQuantumShellTagID, getQuantumShellTagIDSpherical, setMOMethods inherited from class AtomSetCollectionReader
addAtomXYZSymName, addExplicitLatticeVector, addJmolScript, addMoreUnitCellInfo, addSites, addSiteScript, appendLoadNote, applySymmetryAndSetTrajectory, applySymTrajASCR, checkAndRemoveFilterKey, checkCurrentLineForScript, checkFilterKey, checkLastModel, checkLine, checkLineForScript, clearUnitCell, cloneLastAtomSet, discardLinesUntilBlank, discardLinesUntilContains, discardLinesUntilContains2, discardLinesUntilNonBlank, discardLinesUntilStartsWith, doGetModel, doGetVibration, doPreSymmetry, fill3x3, fillDataBlock, fillDataBlockFixed, fillFloatArray, fillFrequencyData, filterAtom, filterReject, finalizeMOData, finalizeModelSet, finalizeReaderASCR, finalizeSubclassReader, finalizeSubclassSymmetry, fixDoubleA, fixFloatA, fixFloatPt, forceSymmetry, fractionalizeCoordinates, getElementSymbol, getFilter, getFilterWithCase, getFortranFormatLengths, getInterface, getPackingRangeValue, getStrings, getSymmetry, getTokens, getTokensFloat, initializeSymmetry, initializeSymmetryOptions, initializeTrajectoryFile, isLastModel, newAtomSet, parseFloat, parseFloatRange, parseFloatStr, parseInt, parseIntAt, parseIntRange, parseIntStr, parsePrecision, parseToken, parseTokenNext, parseTokenRange, parseTokenStr, processBinaryDocument, processDOM, rd, read3Vectors, readDataObject, readLines, readNextLine, rejectAtomName, RL, set2D, setAtomCoord, setAtomCoordScaled, setAtomCoordTokens, setAtomCoordXYZ, setChainID, setElementAndIsotope, setFilter, setFilterAtomTypeStr, setFractionalCoordinates, setIsPDB, setLoadNote, setModelPDB, setPrecision, setSpaceGroupName, setSymmetryOperator, setTransform, setUnitCell, setUnitCellItem, setup, setupASCR, warnSkippingOperation
-
Field Details
-
shellCount
public int shellCount -
gaussianCount
public int gaussianCount -
gaussians
public float[][] gaussians -
energyUnits
-
moTypes
-
haveNboCharges
protected boolean haveNboCharges -
haveNboOrbitals
protected boolean haveNboOrbitals -
orbitalsRead
protected boolean orbitalsRead -
lastMoData
-
allowNoOrbitals
protected boolean allowNoOrbitals -
forceMOPAC
protected boolean forceMOPAC -
HEADER_GAMESS_UK_MO
protected final int HEADER_GAMESS_UK_MO- See Also:
-
HEADER_GAMESS_OCCUPANCIES
protected final int HEADER_GAMESS_OCCUPANCIES- See Also:
-
HEADER_GAMESS_ORIGINAL
protected final int HEADER_GAMESS_ORIGINAL- See Also:
-
HEADER_NONE
protected final int HEADER_NONE- See Also:
-
-
Constructor Details
-
MOReader
public MOReader()
-
-
Method Details
-
initializeReader
- Overrides:
initializeReaderin classAtomSetCollectionReader- Throws:
Exception
-
checkNboLine
-
getNboTypes
-
readMolecularOrbitals
-
addSlaterBasis
protected void addSlaterBasis()See MopacSlaterReader -
addCoef
-
getMOHeader
-
addMOData
-
setMOData
public void setMOData(boolean clearOrbitals)
-