Package bh-tree.plt contributed by wmfarr [docs]
To load: (require (planet "bh-tree.scm" ("wmfarr" "bh-tree.plt" 1 0)))
Package description:
Create and manipulate Barnes-Hut octtrees.These trees are useful in N-Body simulations as an efficient datastructure for computing forces and potentials.
Downloads this week: 0
Total downloads: 50
Tickets:0
Open tickets:0
Primary files:
NameContract
(struct cell (m q bounds sub-trees))
(struct bounds (low high))
empty-tree?
(-> tree? boolean?)
make-empty
(-> empty-tree?)
tree?
(-> any/c boolean?)
tree-m
(-> tree? (>=/c 0.0))
tree-q
(-> tree? 3vector/c)
tree-size-squared
(-> tree? (>=/c 0.0))
in-bounds?
(-> bounds? 3vector/c boolean?)
bodies->tree
(-> nbody-system/c tree?)
tree-fold/sc
(-> (-> tree? any) (-> tree? any/c any) any/c tree? any)
tree-fold
(-> (-> tree? any/c any) any/c tree? any)
 Current version
PLaneT versionExternal versionSourceDLsDocsReq. PLTDate added
(1 0)1.0
50
[none]2007-04-01
To load: (require (planet "bh-tree.scm" ("wmfarr" "bh-tree.plt" 1 0)))
Available in repositories: 4.x, 3xx
[no release notes]
No Tickets Currently open for this Package [New Ticket]