public class MepCalculation extends QuantumCalculation implements MepCalculationInterface
Modifier and Type | Field and Description |
---|---|
private javajs.util.P3[] |
atomCoordAngstroms |
private BS |
bsSelected |
protected int |
distanceMode |
protected static int |
E_MINUS_D |
protected static int |
E_MINUS_D_OVER_2 |
protected Map<String,Object> |
htAtomicPotentials |
protected static int |
ONE_OVER_D |
protected static int |
ONE_OVER_ONE_PLUS_D |
private float[] |
potentials |
protected String |
resourceName |
private Viewer |
viewer |
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 and Description |
---|
MepCalculation() |
Modifier and Type | Method and Description |
---|---|
void |
assignPotentials(Atom[] atoms,
float[] potentials,
BS bsAromatic,
BS bsCarbonyl,
BS bsIgnore,
String data) |
void |
calculate(VolumeDataInterface volumeData,
BS bsSelected,
javajs.util.P3[] atomCoordAngstroms,
float[] potentials,
int calcType) |
void |
createCube() |
protected void |
getAtomicPotentials(String data,
String resourceName) |
protected float |
getTabulatedPotential(Atom atom) |
float |
getValueAtPoint(javajs.util.P3 pt) |
protected void |
process() |
void |
set(Viewer viewer) |
void |
setup(int calcType,
float[] potentials,
javajs.util.P3[] atomCoordAngstroms,
BS bsSelected) |
float |
valueFor(float x0,
float d2,
int distanceMode) |
initialize, initialize0, initializeOnePoint, initializeOnePointQC, processPoints, processPt, setMinMax, setupCoordinates, setXYZBohr
protected static final int ONE_OVER_D
protected static final int E_MINUS_D_OVER_2
protected static final int ONE_OVER_ONE_PLUS_D
protected static final int E_MINUS_D
protected int distanceMode
private float[] potentials
private javajs.util.P3[] atomCoordAngstroms
private BS bsSelected
private Viewer viewer
protected String resourceName
public void set(Viewer viewer)
set
in interface MepCalculationInterface
public void assignPotentials(Atom[] atoms, float[] potentials, BS bsAromatic, BS bsCarbonyl, BS bsIgnore, String data)
assignPotentials
in interface MepCalculationInterface
public void setup(int calcType, float[] potentials, javajs.util.P3[] atomCoordAngstroms, BS bsSelected)
public void calculate(VolumeDataInterface volumeData, BS bsSelected, javajs.util.P3[] atomCoordAngstroms, float[] potentials, int calcType)
calculate
in interface MepCalculationInterface
public float getValueAtPoint(javajs.util.P3 pt)
protected void process()
process
in class QuantumCalculation
public float valueFor(float x0, float d2, int distanceMode)
valueFor
in interface MepCalculationInterface
protected float getTabulatedPotential(Atom atom)
public void createCube()