WaveVectorFactory
public 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()
WaveVectorFactory
getCoefficients
in interface WaveVectorFactory
public Vector[] getWaveVectors()
WaveVectorFactory
getWaveVectors
in interface WaveVectorFactory
public void makeWaveVectors(Box box)
WaveVectorFactory
makeWaveVectors
in interface WaveVectorFactory