NormalModes
public 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()
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