|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.davidson.chm.waveFunction.WaveFunction
edu.davidson.chm.waveFunction.Gaussian
public class Gaussian
Defines a Gaussian Basis Function
Copyright (c) 2001,2009 David N. Blauch
| Constructor Summary | |
|---|---|
Gaussian()
|
|
Gaussian(int nbr,
java.lang.String geometry)
Creates a basis function that contains nbr gaussian functions |
|
Gaussian(int nbr,
java.lang.String geometry,
double alpha,
double scale,
double coef)
Creates a basis function that contains nbr gaussian functions and defines the first gaussian function. |
|
| Method Summary | |
|---|---|
protected void |
createArrays()
|
double |
getMaxR(double frac)
Returns the maximum displacement from the nucleus at which the wave function has a value characterized by _fraction. |
double[] |
getValue(double r,
double theta,
double phi)
Returns the value of the basis function at r, theta, phi. |
double[] |
getValueXYZ(double x,
double y,
double z)
Returns the value of the basis function at r, theta, phi. |
void |
setFunction(int id,
double alpha,
double scale,
double coef)
Adds a gaussian function to the basis function. |
protected void |
setGeometry(java.lang.String geometry)
|
void |
setOrigin(double r,
double theta,
double phi)
Sets the position of the origin for the basis function. |
void |
setOriginXYZ(double x,
double y,
double z)
Sets the position of the origin for the basis function. |
| Methods inherited from class edu.davidson.chm.waveFunction.WaveFunction |
|---|
getID, setID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Gaussian()
public Gaussian(int nbr,
java.lang.String geometry)
public Gaussian(int nbr,
java.lang.String geometry,
double alpha,
double scale,
double coef)
| Method Detail |
|---|
public double getMaxR(double frac)
WaveFunction
getMaxR in class WaveFunction
public double[] getValue(double r,
double theta,
double phi)
getValue in class WaveFunction
public double[] getValueXYZ(double x,
double y,
double z)
getValueXYZ in class WaveFunctionWaveFunction.getValue(double, double, double)
public void setFunction(int id,
double alpha,
double scale,
double coef)
public void setOrigin(double r,
double theta,
double phi)
public void setOriginXYZ(double x,
double y,
double z)
protected void createArrays()
protected void setGeometry(java.lang.String geometry)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||