Package org.jmol.quantum
Class MOCalculation
- java.lang.Object
-
- org.jmol.quantum.QuantumCalculation
-
- org.jmol.quantum.MOCalculation
-
public class MOCalculation extends QuantumCalculation
-
-
Field Summary
Fields Modifier and Type Field Description private doublecprivate java.lang.StringcalculationTypeprivate double[]coeffsprivate float[][]coefsprivate static doubleCUTprivate double[]CXprivate double[]CYprivate double[]CZprivate int[][]dfCoefMapsprivate booleandoNormalizeprivate booleandoShowShellTypeprivate double[]DXYprivate double[]DXZprivate double[]DYZprivate double[]EXprivate double[]EYprivate double[]EZprivate intgaussianPtrprivate float[][]gaussiansprivate booleanhavePoints(package private) floatintegrationprivate booleanisSquaredLinearprivate intlastGaussianPtrprivate float[]linearCombinationprivate int[]mapprivate intmoCoeffprivate float[]moCoefficientsprivate doublemoFactorprivate intnGaussiansprivate booleannwChemModeprivate static doubleROOT3private static java.lang.String[][]shellOrderprivate javajs.util.Lst<int[]>shellsprivate SlaterData[]slaters(package private) doublesum(package private) booleantestingprivate java.lang.Stringwarned-
Fields inherited from class org.jmol.quantum.QuantumCalculation
atomIndex, bohr_per_angstrom, bsExcluded, countsXYZ, doDebug, firstAtomOffset, nX, nY, nZ, originBohr, points, qmAtoms, rangeBohrOrAngstroms, stepBohr, thisAtom, unitFactor, vd, volume, voxelData, voxelDataTemp, X, X2, xBohr, xMax, xMin, Y, Y2, yBohr, yMax, yMin, Z, Z2, zBohr, zMax, zMin
-
-
Constructor Summary
Constructors Constructor Description MOCalculation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidaddData10F()private voidaddData5D()private voidaddData6D()private voidaddData7F()private voidaddDataP()private voidaddDataS()private voidaddDataSP()private voidaddValuesSquared(float occupancy)private voidcalcSP(double alpha, double as, double ax, double ay, double az)voidcalculateElectronDensity()private booleancheckCalculationType()voidcreateCube()private voiddumpInfo(int shell)private doublegetContractionNormalization(int el, int cpt)private static java.lang.String[]getShellOrder(int i)protected voidinitialize(int nX, int nY, int nZ, javajs.util.T3[] points)private doublenormalizeShell(int iShell)protected voidprocess()protected voidprocessPoints()private voidprocessShell(int iShell)private booleanprocessSlater(int slaterIndex)private voidsetCE(double alpha, double as, double ax, double ay, double az)private booleansetCoeffs(int type, boolean isProcess)private voidsetE(double[] EX, double alpha)booleansetupCalculation(VolumeData volumeData, BS bsSelected, java.lang.String calculationType, javajs.util.T3[] xyz, Atom[] atoms, int firstAtomOffset, javajs.util.Lst<int[]> shells, float[][] gaussians, int[][] dfCoefMaps, java.lang.Object slaters, float[] moCoefficients, float[] linearCombination, boolean isSquaredLinear, float[][] coefs, boolean doNormalize, javajs.util.T3[] points)-
Methods inherited from class org.jmol.quantum.QuantumCalculation
initialize0, initializeOnePoint, initializeOnePointQC, processPt, setMinMax, setupCoordinates, setXYZBohr
-
-
-
-
Field Detail
-
CUT
private static final double CUT
- See Also:
- Constant Field Values
-
CX
private double[] CX
-
CY
private double[] CY
-
CZ
private double[] CZ
-
DXY
private double[] DXY
-
DXZ
private double[] DXZ
-
DYZ
private double[] DYZ
-
EX
private double[] EX
-
EY
private double[] EY
-
EZ
private double[] EZ
-
calculationType
private java.lang.String calculationType
-
shells
private javajs.util.Lst<int[]> shells
-
gaussians
private float[][] gaussians
-
slaters
private SlaterData[] slaters
-
moCoefficients
private float[] moCoefficients
-
moCoeff
private int moCoeff
-
gaussianPtr
private int gaussianPtr
-
doNormalize
private boolean doNormalize
-
nwChemMode
private boolean nwChemMode
-
dfCoefMaps
private int[][] dfCoefMaps
-
linearCombination
private float[] linearCombination
-
coefs
private float[][] coefs
-
moFactor
private double moFactor
-
havePoints
private boolean havePoints
-
testing
boolean testing
-
sum
double sum
-
c
private double c
-
nGaussians
private int nGaussians
-
doShowShellType
private boolean doShowShellType
-
warned
private java.lang.String warned
-
coeffs
private double[] coeffs
-
map
private int[] map
-
lastGaussianPtr
private int lastGaussianPtr
-
ROOT3
private static final double ROOT3
- See Also:
- Constant Field Values
-
shellOrder
private static final java.lang.String[][] shellOrder
-
integration
float integration
-
isSquaredLinear
private boolean isSquaredLinear
-
-
Method Detail
-
setupCalculation
public boolean setupCalculation(VolumeData volumeData, BS bsSelected, java.lang.String calculationType, javajs.util.T3[] xyz, Atom[] atoms, int firstAtomOffset, javajs.util.Lst<int[]> shells, float[][] gaussians, int[][] dfCoefMaps, java.lang.Object slaters, float[] moCoefficients, float[] linearCombination, boolean isSquaredLinear, float[][] coefs, boolean doNormalize, javajs.util.T3[] points)
-
initialize
protected void initialize(int nX, int nY, int nZ, javajs.util.T3[] points)- Overrides:
initializein classQuantumCalculation
-
createCube
public void createCube()
- Specified by:
createCubein classQuantumCalculation
-
processPoints
protected void processPoints()
- Overrides:
processPointsin classQuantumCalculation
-
process
protected void process()
- Specified by:
processin classQuantumCalculation
-
checkCalculationType
private boolean checkCalculationType()
-
normalizeShell
private double normalizeShell(int iShell)
-
processShell
private void processShell(int iShell)
-
addValuesSquared
private void addValuesSquared(float occupancy)
-
getContractionNormalization
private double getContractionNormalization(int el, int cpt)
-
setCoeffs
private boolean setCoeffs(int type, boolean isProcess)
-
addDataS
private void addDataS()
-
addDataP
private void addDataP()
-
addDataSP
private void addDataSP()
-
setCE
private void setCE(double alpha, double as, double ax, double ay, double az)
-
setE
private void setE(double[] EX, double alpha)
-
calcSP
private void calcSP(double alpha, double as, double ax, double ay, double az)
-
addData6D
private void addData6D()
-
addData5D
private void addData5D()
-
addData10F
private void addData10F()
-
addData7F
private void addData7F()
-
processSlater
private boolean processSlater(int slaterIndex)
-
dumpInfo
private void dumpInfo(int shell)
-
getShellOrder
private static final java.lang.String[] getShellOrder(int i)
-
calculateElectronDensity
public void calculateElectronDensity()
-
-