Parents: | benchmark |
Authors: | Slava Pestov |
Class | Superclass | Slots |
body | struct |
Word | Stack effect |
<body> | ( location velocity mass -- body ) |
<jupiter> | ( -- body ) |
<nbody-system> | ( -- system ) |
<neptune> | ( -- body ) |
<saturn> | ( -- body ) |
<sun> | ( -- body ) |
<uranus> | ( -- body ) |
advance | ( system dt -- ) |
days-per-year | ( -- value ) |
each-pair | ( ... bodies pair-quot: ( ... other-body body -- ... ) each-quot: ( ... body -- ... ) -- ) |
energy | ( system -- x ) |
inertia | ( body -- e ) |
init-bodies | ( bodies -- ) |
mag | ( dt body other-body -- mag d ) |
nbody | ( n -- ) |
nbody-simd-benchmark | ( -- ) |
newton's-law | ( other-body body -- e ) |
offset-momentum | ( body offset -- body ) |
solar-mass | ( -- x ) |
update-position | ( body dt -- ) |
update-velocity | ( other-body body dt -- ) |
Word | Stack effect |
body? | ( object -- ? ) |