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 java.lang.StringcalculationTypedouble[]coeffsprivate float[][]coefsprivate static doubleCUTprivate double[]CXprivate double[]CYprivate double[]CZ(package private) int[]dataAdderOK(package private) DataAdder[]dataAddersprivate int[][]dfCoefMapsprivate booleandoShowShellTypeprivate double[]DXYprivate double[]DXZprivate double[]DYZdouble[]EXdouble[]EYdouble[]EZintgaussianPtrfloat[][]gaussiansbooleanhavePointsprivate int[]highLEnabledprivate booleanisSquaredLinearprivate intlastGaussianPtrprivate float[]linearCombinationprivate int[]mapprivate intmoCoeffprivate float[]moCoefficientsprivate doublemoFactorintnGaussiansstatic intNORM_NBOstatic intNORM_NONEstatic intNORM_NWCHEMstatic intNORM_STANDARDintnormTypestatic 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, integration, nX, nY, nZ, originBohr, points, qmAtoms, rangeBohrOrAngstroms, stepBohr, thisAtom, unitFactor, 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 voidaddData5D()private voidaddData6D()private voidaddDataP()private voidaddDataS()private voidaddDataSP()private booleanaddHighL(int basisType)modular loading of high-L data addersprivate voidaddValuesSquared(float occupancy)private voidcalcSP(double alpha, double as, double ax, double ay, double az)voidcalculateElectronDensity()private booleancheckCalculationType()voidcreateCube()private voiddumpInfo(int shell)doublegetContractionNormalization(int el, int cpt)NWCHEM onlyprivate static java.lang.String[]getShellOrder(int i)voidinitialize(int nX, int nY, int nZ, javajs.util.T3[] points)voidprocess()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)voidsetE(double[] EX, double alpha)private voidsetNormalization(java.lang.Object nboType)booleansetupCalculation(java.util.Map<java.lang.String,java.lang.Object> moData, boolean isSlaters, VolumeData volumeData, javajs.util.BS bsSelected, javajs.util.T3[] xyz, Atom[] atoms, int firstAtomOffset, int[][] dfCoefMaps, float[] moCoefficients, float[] linearCombination, boolean isSquaredLinear, float[][] coefs, javajs.util.T3[] points)-
Methods inherited from class org.jmol.quantum.QuantumCalculation
getIntegration, initialize0, initializeOnePoint, initializeOnePointQC, processPt, setMinMax, setupCoordinates, setXYZBohr
-
-
-
-
Field Detail
-
ROOT3
public static final double ROOT3
- See Also:
- Constant Field Values
-
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
public double[] EX
-
EY
public double[] EY
-
EZ
public double[] EZ
-
calculationType
private java.lang.String calculationType
-
shells
private javajs.util.Lst<int[]> shells
-
gaussians
public float[][] gaussians
-
slaters
private SlaterData[] slaters
-
moCoefficients
private float[] moCoefficients
-
moCoeff
private int moCoeff
-
gaussianPtr
public int gaussianPtr
-
NORM_NONE
public static final int NORM_NONE
- See Also:
- Constant Field Values
-
NORM_STANDARD
public static final int NORM_STANDARD
- See Also:
- Constant Field Values
-
NORM_NWCHEM
public static final int NORM_NWCHEM
- See Also:
- Constant Field Values
-
NORM_NBO
public static final int NORM_NBO
- See Also:
- Constant Field Values
-
normType
public int normType
-
dfCoefMaps
private int[][] dfCoefMaps
-
linearCombination
private float[] linearCombination
-
coefs
private float[][] coefs
-
moFactor
private double moFactor
-
havePoints
public boolean havePoints
-
testing
boolean testing
-
highLEnabled
private int[] highLEnabled
-
sum
double sum
-
nGaussians
public int nGaussians
-
doShowShellType
private boolean doShowShellType
-
warned
private java.lang.String warned
-
dataAdders
DataAdder[] dataAdders
-
dataAdderOK
int[] dataAdderOK
-
coeffs
public double[] coeffs
-
map
private int[] map
-
lastGaussianPtr
private int lastGaussianPtr
-
shellOrder
private static final java.lang.String[][] shellOrder
-
isSquaredLinear
private boolean isSquaredLinear
-
-
Method Detail
-
setupCalculation
public boolean setupCalculation(java.util.Map<java.lang.String,java.lang.Object> moData, boolean isSlaters, VolumeData volumeData, javajs.util.BS bsSelected, javajs.util.T3[] xyz, Atom[] atoms, int firstAtomOffset, int[][] dfCoefMaps, float[] moCoefficients, float[] linearCombination, boolean isSquaredLinear, float[][] coefs, javajs.util.T3[] points)
-
setNormalization
private void setNormalization(java.lang.Object nboType)
-
initialize
public void initialize(int nX, int nY, int nZ, javajs.util.T3[] points)- Overrides:
initializein classQuantumCalculation
-
createCube
public void createCube()
- Specified by:
createCubein classQuantumCalculation
-
processPoints
public void processPoints()
- Overrides:
processPointsin classQuantumCalculation
-
process
public void process()
- Specified by:
processin classQuantumCalculation
-
checkCalculationType
private boolean checkCalculationType()
-
processShell
private void processShell(int iShell)
-
addHighL
private boolean addHighL(int basisType)
modular loading of high-L data adders- Parameters:
basisType-- Returns:
- true if implemented
-
addValuesSquared
private void addValuesSquared(float occupancy)
-
getContractionNormalization
public double getContractionNormalization(int el, int cpt)NWCHEM only- Parameters:
el-cpt-- Returns:
- NWCHEM contraction normalization
-
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
public 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()
-
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()
-
-