|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.davidson.chm.waveFunction.WaveFunction
public abstract class WaveFunction
Define the abstract description of a Wave Function.
The class requires two methods be defined:
getValue(r,theta,phi) returns the value of the wave function at position r, theta, phi (spherical coordinates). The wave function is returned in the form of a two-element double array (the real and complex components of the wave function).
getValueXYZ(x,y,z) returns the value of the wave function at position x, y, z (cartesian coordinates). The wave function is returned in the form of a two-element double array (the real and complex components of the wave function).
getMaxR(f) returns the maximum distance from the origin necessary in order to contain a fraction f of the wave function. The significance of f is ambiguous. This method is provided for applications where limits in a plot or display must be determined without direct input from the user.
Copyright (c) David N. Blauch 2000,2009
| Constructor Summary | |
|---|---|
WaveFunction()
|
|
| Method Summary | |
|---|---|
int |
getID()
Returns the id of the wave function |
abstract double |
getMaxR(double _fraction)
Returns the maximum displacement from the nucleus at which the wave function has a value characterized by _fraction. |
abstract double[] |
getValue(double _r,
double _theta,
double _phi)
Returns the value of the wave function for a set of spherical coordinates _r (normalized distance from the nucleus), _theta (angle from the z axis), and _phi (angle from the x axis in the xy plane). |
abstract double[] |
getValueXYZ(double _x,
double _y,
double _z)
Returns the value of the wave function for a set of cartesian coordinates. |
void |
setID(int _id)
Sets the id of the wave function |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WaveFunction()
| Method Detail |
|---|
public abstract double getMaxR(double _fraction)
public abstract double[] getValue(double _r,
double _theta,
double _phi)
public abstract double[] getValueXYZ(double _x,
double _y,
double _z)
getValue(double, double, double)public int getID()
public void setID(int _id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||