|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jass.generators.ModalModel
public class ModalModel
Modal model, which is loaded from an .sy format text file.
Field Summary | |
---|---|
float[][] |
a
Gains. |
float |
ascale
Multiplies all gains. |
float[] |
d
Angular decay rates in Hertz. |
float |
dscale
Multiplies all dampings. |
float[] |
f
Mode frequencies in Hertz. |
float |
fscale
Multiplies all frequencies. |
int |
nf
Number of modes available. |
int |
nfUsed
Number of modes used. |
int |
np
Number of points. |
Constructor Summary | |
---|---|
ModalModel(int nf,
int np)
Constructor. |
|
ModalModel(java.lang.String fn)
Constructor. |
|
ModalModel(java.net.URL url)
Constructor. |
Method Summary | |
---|---|
protected void |
allocate(int nf,
int np)
Allocated arrays. |
void |
readModes(java.lang.String fn)
Read the modes file in .sy format. |
void |
readModes(java.net.URL url)
Read the modes url in .sy format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float[] f
public float[] d
public float[][] a
public int nf
public int nfUsed
public int np
public float fscale
public float dscale
public float ascale
Constructor Detail |
---|
public ModalModel(java.lang.String fn) throws java.io.FileNotFoundException
fn
- File name with modal data in .sy format.
java.io.FileNotFoundException
public ModalModel(java.net.URL url) throws java.io.IOException
url
- Url name with modal data in .sy format.
java.io.IOException
public ModalModel(int nf, int np)
nf
- number of modes.np
- numpber of locations.Method Detail |
---|
protected void allocate(int nf, int np)
nf
- number of modes.np
- number of locations.public void readModes(java.lang.String fn) throws java.io.FileNotFoundException
fn
- File name with modal data in .sy format.
java.io.FileNotFoundException
public void readModes(java.net.URL url) throws java.io.IOException
url
- URL name with modal data in .sy format.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |