Package org.jmol.adapter.readers.spartan
Class SpartanArchive
- java.lang.Object
-
- org.jmol.adapter.readers.spartan.SpartanArchive
-
class SpartanArchive extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private intacprivate java.lang.StringbondDataprivate intcoefCountprivate java.lang.StringendCheckprivate intgaussianCountprivate booleanisSMOLprivate java.lang.Stringlineprivate intmoCountprivate intmodelAtomCountprivate intmodelCountprivate BasisFunctionReaderrprivate intshellCount
-
Constructor Summary
Constructors Constructor Description SpartanArchive(BasisFunctionReader r, java.lang.String bondData, java.lang.String endCheck)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddBonds(java.lang.String data, int ac0)private java.lang.StringgetQuotedString(java.lang.String strQuote)private voidinitialize(BasisFunctionReader r, java.lang.String bondData)private floatparseFloat(java.lang.String info)private intparseInt(java.lang.String info)(package private) intreadArchive(java.lang.String infoLine, boolean haveGeometryLine, int ac0, boolean doAddAtoms)private voidreadAtoms(int ac0, boolean doAddAtoms)(package private) voidreadBasis()(package private) voidreadDipole()private voidreadEnergy()private java.lang.StringreadLine()(package private) voidreadMolecularOrbital()(package private) voidreadProperties()private voidreadProperty()(package private) voidreadVibFreqs()private voidsetDipole(java.lang.String[] tokens)private intsetInfo(java.lang.String info)private voidsetVibrationsFromProperties()
-
-
-
Field Detail
-
modelCount
private int modelCount
-
ac
private int ac
-
bondData
private java.lang.String bondData
-
moCount
private int moCount
-
coefCount
private int coefCount
-
shellCount
private int shellCount
-
gaussianCount
private int gaussianCount
-
endCheck
private java.lang.String endCheck
-
isSMOL
private boolean isSMOL
-
r
private BasisFunctionReader r
-
modelAtomCount
private int modelAtomCount
-
line
private java.lang.String line
-
-
Constructor Detail
-
SpartanArchive
SpartanArchive(BasisFunctionReader r, java.lang.String bondData, java.lang.String endCheck)
-
-
Method Detail
-
initialize
private void initialize(BasisFunctionReader r, java.lang.String bondData)
-
readArchive
int readArchive(java.lang.String infoLine, boolean haveGeometryLine, int ac0, boolean doAddAtoms) throws java.lang.Exception- Throws:
java.lang.Exception
-
readEnergy
private void readEnergy() throws java.lang.Exception- Throws:
java.lang.Exception
-
setInfo
private int setInfo(java.lang.String info) throws java.lang.Exception- Throws:
java.lang.Exception
-
readAtoms
private void readAtoms(int ac0, boolean doAddAtoms) throws java.lang.Exception- Throws:
java.lang.Exception
-
addBonds
void addBonds(java.lang.String data, int ac0)
-
readBasis
void readBasis() throws java.lang.Exception- Throws:
java.lang.Exception
-
readMolecularOrbital
void readMolecularOrbital() throws java.lang.Exception- Throws:
java.lang.Exception
-
readProperties
void readProperties() throws java.lang.Exception- Throws:
java.lang.Exception
-
readDipole
void readDipole() throws java.lang.Exception- Throws:
java.lang.Exception
-
setDipole
private void setDipole(java.lang.String[] tokens)
-
readProperty
private void readProperty() throws java.lang.Exception- Throws:
java.lang.Exception
-
readVibFreqs
void readVibFreqs() throws java.lang.Exception- Throws:
java.lang.Exception
-
setVibrationsFromProperties
private void setVibrationsFromProperties() throws java.lang.Exception- Throws:
java.lang.Exception
-
getQuotedString
private java.lang.String getQuotedString(java.lang.String strQuote)
-
parseInt
private int parseInt(java.lang.String info)
-
parseFloat
private float parseFloat(java.lang.String info)
-
readLine
private java.lang.String readLine() throws java.lang.Exception- Throws:
java.lang.Exception
-
-