benchmark.nbody-simd vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:benchmark
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
body struct


Ordinary words
WordStack 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 -- )


Class predicate words
WordStack effect
body?( object -- ? )


Files


Metadata files