NormalModes
public class NormalModes1DHR extends java.lang.Object implements NormalModes
Modifier and Type | Field | Description |
---|---|---|
protected Boundary |
boundary |
|
protected double |
harmonicFudge |
|
protected int |
nA |
|
protected double |
temperature |
Constructor | Description |
---|---|
NormalModes1DHR(Boundary boundary,
int numMolecules) |
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.
|
static void |
main(java.lang.String[] args) |
|
static double |
S1DHR(int m,
double L,
int N) |
Returns the analytical result for the S matrix (just a scalar in this
case) for the 1D HR system with PBC
|
void |
setHarmonicFudge(double newHarmonicFudge) |
Set the fudge factor applied to frequencies.
|
void |
setTemperature(double newTemperature) |
Set the temperature used for calculating omega-squared.
|
protected double harmonicFudge
protected double temperature
protected final Boundary boundary
protected final int nA
public NormalModes1DHR(Boundary boundary, int numMolecules)
public double[][] getOmegaSquared()
NormalModes
getOmegaSquared
in interface NormalModes
public double[][][] getEigenvectors()
NormalModes
getEigenvectors
in interface NormalModes
public void setHarmonicFudge(double newHarmonicFudge)
NormalModes
setHarmonicFudge
in interface NormalModes
public WaveVectorFactory getWaveVectorFactory()
NormalModes
getWaveVectorFactory
in interface NormalModes
public void setTemperature(double newTemperature)
NormalModes
setTemperature
in interface NormalModes
public static double S1DHR(int m, double L, int N)
m
- specification of the wave vector, such that k = 2 Pi m rho/NL
- lenth of the systemN
- number of rodspublic static void main(java.lang.String[] args)