NormalModespublic class NormalModesFromFile extends java.lang.Object implements NormalModes
| Constructor | Description |
|---|---|
NormalModesFromFile(java.lang.String filename,
int D) |
| 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.
|
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.
|
void |
setHarmonicFudge(double newHarmonicFudge) |
Set the fudge factor applied to frequencies.
|
void |
setTemperature(double newTemperature) |
Set the temperature used for calculating omega-squared.
|
public NormalModesFromFile(java.lang.String filename,
int D)
filename - Root of file name where normal mode information may be found.
Wavevectors will be taken filename.k, eigenvalues from
filename.val, and eigenvectors from filename.vec.D - spatial dimension of the system (not necessarily coordinate dimension).public double[][] getOmegaSquared()
NormalModesgetOmegaSquared in interface NormalModespublic double[][][] getEigenvectors()
NormalModesgetEigenvectors in interface NormalModespublic WaveVectorFactory getWaveVectorFactory()
NormalModesgetWaveVectorFactory in interface NormalModespublic void setHarmonicFudge(double newHarmonicFudge)
NormalModessetHarmonicFudge in interface NormalModespublic void setTemperature(double newTemperature)
NormalModessetTemperature in interface NormalModes