WaveVectorFactorypublic class WaveVectorFactoryFromFile extends java.lang.Object implements WaveVectorFactory
| Constructor | Description |
|---|---|
WaveVectorFactoryFromFile(java.lang.String filename,
int D) |
| Modifier and Type | Method | Description |
|---|---|---|
double[] |
getCoefficients() |
Returns the coefficients for the wave vectors returned by
getWaveVectors.
|
Vector[] |
getWaveVectors() |
Returns the wave vectors generated by makeWaveVectors
|
void |
makeWaveVectors(Box box) |
Tells the instance to make wave vectors appropriate for the given box.
|
public WaveVectorFactoryFromFile(java.lang.String filename,
int D)
filename - such that filename.k holds the wave vectorsD - spatial dimension (not necessarily coordinate dimension)public double[] getCoefficients()
WaveVectorFactorygetCoefficients in interface WaveVectorFactorypublic Vector[] getWaveVectors()
WaveVectorFactorygetWaveVectors in interface WaveVectorFactorypublic void makeWaveVectors(Box box)
WaveVectorFactorymakeWaveVectors in interface WaveVectorFactory