|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhm.edu.fem.animation.CalcAnimation
public class CalcAnimation
Class Description: This class is being used when we have a FEM4 files for Membran calculations. Any node designated as border node in the FEMIN File is taken out of the calculations (all other get Alias IDs)
Field Summary | |
---|---|
protected Vector |
aiVector
|
protected double |
deltaT
|
protected double |
dimensionA
|
protected double |
dimensionB
|
protected FEMManager |
femManager
|
protected int |
frameCount
|
protected double |
initialDeltaT
|
protected double |
initialPZ
|
protected static int |
INNER_POINTS
|
protected static Logger |
localLogger
|
protected Vector |
omega
|
protected static int |
OUTER_POINTS
|
protected double |
pX
|
protected double |
pY
|
protected double |
pZ
|
protected long |
startTime
|
protected long |
tmpTime
|
protected Vector |
w0Vector
|
Constructor Summary | |
---|---|
protected |
CalcAnimation()
Basic Constructor needed for other animation classes extending from this one |
|
CalcAnimation(java.lang.String[] args)
Create a new Calc Animation Object |
Method Summary | |
---|---|
protected boolean |
calculateAI()
Calculate the Vector a(i) |
protected boolean |
calculateAnimation()
Calculate the Animation |
protected boolean |
calculateExactA()
Calculate the exact Matrix a(m,n) via formula: 4/(ab) double-integral { w(x,y,0) sin(m pi x/a) sin(n pi y/b) dx dy |
protected boolean |
calculateMembranDimensions()
Calculate the Membran Dimensions |
protected boolean |
calculateOmega()
Calculate the Vector Omega |
protected boolean |
calculateStartingAmplitude()
Calculate the Starting Amplitude |
void |
keyPressed(java.awt.event.KeyEvent e)
METHODS NEEDED BY THE KEYLISTENER INTERFACE |
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
Automatically called when the user presses a key |
protected boolean |
normB()
B-normalize all eigenvectors |
boolean |
start()
Call this method to start the animation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Vector aiVector
protected double deltaT
protected double dimensionA
protected double dimensionB
protected FEMManager femManager
protected int frameCount
protected double initialDeltaT
protected double initialPZ
protected static int INNER_POINTS
protected static Logger localLogger
protected Vector omega
protected static int OUTER_POINTS
protected double pX
protected double pY
protected double pZ
protected long startTime
protected long tmpTime
protected Vector w0Vector
Constructor Detail |
---|
protected CalcAnimation()
public CalcAnimation(java.lang.String[] args)
args,
- the command-line argumentsMethod Detail |
---|
protected boolean calculateAI()
protected boolean calculateAnimation()
protected boolean calculateExactA()
protected boolean calculateMembranDimensions()
protected boolean calculateOmega()
protected boolean calculateStartingAmplitude()
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
e,
- the key eventprotected boolean normB()
public boolean start()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |