Package org.jmol.quantum
Class QuantumCalculation
- java.lang.Object
-
- org.jmol.quantum.QuantumCalculation
-
- Direct Known Subclasses:
MepCalculation,MOCalculation,QuantumPlaneCalculation
public abstract class QuantumCalculation extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected intatomIndexprotected static floatbohr_per_angstromprotected BSbsExcludedprotected int[]countsXYZprotected booleandoDebugprotected intfirstAtomOffsetprotected intnXprotected intnYprotected intnZprotected float[]originBohrprotected javajs.util.T3[]pointsprotected QMAtom[]qmAtomsprotected floatrangeBohrOrAngstromsprotected float[]stepBohrprotected QMAtomthisAtomprotected floatunitFactorprotected float[]vdprotected floatvolumeprotected float[][][]voxelDataprotected float[][][]voxelDataTempprotected float[]Xprotected float[]X2protected float[]xBohrprotected intxMaxprotected intxMinprotected float[]Yprotected float[]Y2protected float[]yBohrprotected intyMaxprotected intyMinprotected float[]Zprotected float[]Z2protected float[]zBohrprotected intzMaxprotected intzMin
-
Constructor Summary
Constructors Constructor Description QuantumCalculation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidcreateCube()protected voidinitialize(int nX, int nY, int nZ, javajs.util.T3[] points)protected voidinitialize0(int nX, int nY, int nZ, javajs.util.T3[] points)protected voidinitializeOnePoint()protected voidinitializeOnePointQC()protected abstract voidprocess()protected voidprocessPoints()floatprocessPt(javajs.util.T3 pt)protected voidsetMinMax(int ix)protected voidsetupCoordinates(float[] originXYZ, float[] stepsXYZ, BS bsSelected, javajs.util.T3[] xyz, Atom[] atoms, javajs.util.T3[] points, boolean renumber)protected voidsetXYZBohr(javajs.util.T3[] points)private voidsetXYZBohrI(float[] bohr, int i, int n, javajs.util.T3[] points)
-
-
-
Field Detail
-
doDebug
protected boolean doDebug
-
bsExcluded
protected BS bsExcluded
-
bohr_per_angstrom
protected static final float bohr_per_angstrom
- See Also:
- Constant Field Values
-
voxelData
protected float[][][] voxelData
-
voxelDataTemp
protected float[][][] voxelDataTemp
-
vd
protected float[] vd
-
countsXYZ
protected int[] countsXYZ
-
points
protected javajs.util.T3[] points
-
xMin
protected int xMin
-
xMax
protected int xMax
-
yMin
protected int yMin
-
yMax
protected int yMax
-
zMin
protected int zMin
-
zMax
protected int zMax
-
qmAtoms
protected QMAtom[] qmAtoms
-
atomIndex
protected int atomIndex
-
thisAtom
protected QMAtom thisAtom
-
firstAtomOffset
protected int firstAtomOffset
-
xBohr
protected float[] xBohr
-
yBohr
protected float[] yBohr
-
zBohr
protected float[] zBohr
-
originBohr
protected float[] originBohr
-
stepBohr
protected float[] stepBohr
-
nX
protected int nX
-
nY
protected int nY
-
nZ
protected int nZ
-
X
protected float[] X
-
Y
protected float[] Y
-
Z
protected float[] Z
-
X2
protected float[] X2
-
Y2
protected float[] Y2
-
Z2
protected float[] Z2
-
rangeBohrOrAngstroms
protected float rangeBohrOrAngstroms
-
unitFactor
protected float unitFactor
-
volume
protected float volume
-
-
Method Detail
-
initialize
protected void initialize(int nX, int nY, int nZ, javajs.util.T3[] points)
-
initialize0
protected void initialize0(int nX, int nY, int nZ, javajs.util.T3[] points)
-
setupCoordinates
protected void setupCoordinates(float[] originXYZ, float[] stepsXYZ, BS bsSelected, javajs.util.T3[] xyz, Atom[] atoms, javajs.util.T3[] points, boolean renumber)- Parameters:
originXYZ-stepsXYZ-bsSelected-xyz- full T3[] array -- may be transformed coordinates of Atom[]atoms- for debugging only -- full Atom[] arraypoints-renumber-
-
processPt
public float processPt(javajs.util.T3 pt)
-
processPoints
protected void processPoints()
-
initializeOnePoint
protected void initializeOnePoint()
-
initializeOnePointQC
protected void initializeOnePointQC()
-
process
protected abstract void process()
-
setXYZBohr
protected void setXYZBohr(javajs.util.T3[] points)
-
setXYZBohrI
private void setXYZBohrI(float[] bohr, int i, int n, javajs.util.T3[] points)
-
setMinMax
protected void setMinMax(int ix)
-
createCube
public abstract void createCube()
-
-