Révision 227 TrouNoir/TrouNoir.py
TrouNoir.py (revision 227) | ||
---|---|---|
337 | 337 |
up=us; |
338 | 338 |
vp=vs; |
339 | 339 |
rpp=rps; |
340 |
// rungekutta(&ps,&us,&vs,pp,up,vp,h,m,b);
|
|
340 |
rungekutta(&ps,&us,&vs,pp,up,vp,h,m,b); |
|
341 | 341 |
rps=fabs(b/us); |
342 | 342 |
ExitOnImpact = ((fmod(pp,PI)<fmod(phd,PI))&&(fmod(ps,PI)>fmod(phd,PI)))&&(rps>=ri)&&(rps<=re)?1:0; |
343 | 343 |
|
Formats disponibles : Unified diff