|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmol.adapter.smarter.AtomSetCollectionReader
org.jmol.adapter.readers.simple.HyperChemReader
public class HyperChemReader
Support for .hin, HyperChem's native file format. http://www.hyper.com
Record format is:
atom 1 - C ** - -0.06040 0.00000 0.00000 0.00000 3 2 a 6 a 38 s
...
atom 67 - H ** - 0.17710 -7.10260 -3.74840 2.24660 1 34 s
endmol 1
interesting fields are partialCharge, x, y, z, bondCount
| Field Summary | |
|---|---|
private int |
atomIndex
|
private int |
baseAtomIndex
|
| Constructor Summary | |
|---|---|
HyperChemReader()
|
|
| Method Summary | |
|---|---|
protected boolean |
checkLine()
|
private java.lang.String |
getMolName()
|
private void |
processAtom()
|
private void |
processMol()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int atomIndex
private int baseAtomIndex
| Constructor Detail |
|---|
public HyperChemReader()
| Method Detail |
|---|
protected boolean checkLine()
throws java.lang.Exception
checkLine in class AtomSetCollectionReaderjava.lang.Exception
private void processMol()
throws java.lang.Exception
java.lang.Exceptionprivate java.lang.String getMolName()
private void processAtom()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||