NormalModes
public class NormalModes3D extends java.lang.Object implements NormalModes
Modifier and Type | Field | Description |
---|---|---|
protected Basis |
basis |
|
protected double[][] |
eigenvalues |
|
protected double[][][] |
eigenvectors |
|
protected double |
harmonicFudge |
|
protected int |
nCellNum |
|
protected Primitive |
primitive |
|
protected Space |
space |
|
protected double |
temperature |
|
protected WaveVectorFactory |
waveVectorFactory |
Constructor | Description |
---|---|
NormalModes3D(Space _space,
Primitive primitive,
Basis basis) |
Modifier and Type | Method | Description |
---|---|---|
double[][][] |
getEigenvectors() |
First index corresponds to the wave vector; second index gives the eigenvector, and
third index gives the elements of the vector.
|
int |
getNCellNum() |
|
double[][] |
getOmegaSquared() |
Returns an array giving the frequencies (squared) corresponding to the normal-mode
motions.
|
WaveVectorFactory |
getWaveVectorFactory() |
Returns a factory that provides the wave vectors and coefficients for
the periodic system.
|
static void |
main(java.lang.String[] args) |
|
void |
setHarmonicFudge(double newHarmonicFudge) |
Set the fudge factor applied to frequencies.
|
void |
setNCellNum(int cellNum) |
|
void |
setTemperature(double newTemperature) |
Set the temperature used for calculating omega-squared.
|
protected WaveVectorFactory waveVectorFactory
protected double harmonicFudge
protected double temperature
protected Primitive primitive
protected Space space
protected Basis basis
protected double[][][] eigenvectors
protected double[][] eigenvalues
protected int nCellNum
public double[][] getOmegaSquared()
NormalModes
getOmegaSquared
in interface NormalModes
public double[][][] getEigenvectors()
NormalModes
getEigenvectors
in interface NormalModes
public WaveVectorFactory getWaveVectorFactory()
NormalModes
getWaveVectorFactory
in interface NormalModes
public void setHarmonicFudge(double newHarmonicFudge)
NormalModes
setHarmonicFudge
in interface NormalModes
public void setTemperature(double newTemperature)
NormalModes
setTemperature
in interface NormalModes
public int getNCellNum()
public void setNCellNum(int cellNum)
public static void main(java.lang.String[] args)