|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DependBody
Dependent body Stores
Constructor Summary | |
DependBody(Universe u)
|
Method Summary | |
Vector |
initDynam(Vector nw)
Sets the initial dynamics This method is called at start of simulation to set-up dynamics of body |
double |
initPos(Vector cp)
Sets the initial position of body at start of simulation |
Vector |
move(double time,
boolean relativ)
Updates position of body This is main method for simulation It computes new position by using Kanonic form of Hamiltonian equotations and Runge-Kutta method for solving theese diferential equations |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DependBody(Universe u)
u
- Belonging universeMethod Detail |
public double initPos(Vector cp)
cp
- Cartesian position vectorpublic Vector initDynam(Vector nw)
nw
- Cartesian vectorpublic Vector move(double time, boolean relativ)
time
- Time periodrelativ
- If computing is made ralativistacaly or not
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |