diff --git a/boxtree/area_query.py b/boxtree/area_query.py index 6799ce237e60106297c08e19f01430cd2ee6d096..c37620d07d691929f01cd7e40250017184d7878b 100644 --- a/boxtree/area_query.py +++ b/boxtree/area_query.py @@ -86,8 +86,8 @@ class AreaQueryResult(DeviceDataRecord): .. attribute:: leaves_near_ball_starts - Indices into :attr:`query_lists`. - ``query_lists[leaves_near_ball_starts[ball_nr]: + Indices into :attr:`leaves_near_ball_lists`. + ``leaves_near_ball_lists[leaves_near_ball_starts[ball_nr]: leaves_near_ball_starts[ball_nr]+1]`` results in a list of leaf boxes that intersect `ball_nr`. diff --git a/boxtree/fmm.py b/boxtree/fmm.py index 97c86a7e158f53f6a6b0906c02e65d37dc0429c3..1780d17a5f5a3bf86e24a0388d73543eb80db4e5 100644 --- a/boxtree/fmm.py +++ b/boxtree/fmm.py @@ -256,7 +256,7 @@ class ExpansionWranglerInterface: def eval_direct(self, target_boxes, neighbor_sources_starts, neighbor_sources_lists, src_weights): """For each box in *target_boxes*, evaluate the influence of the - neigbor sources due to *src_weights*, which use :ref:`csr` and are + neighbor sources due to *src_weights*, which use :ref:`csr` and are indexed like *target_boxes*. :returns: a new potential array, see :meth:`potential_zeros`. diff --git a/boxtree/tree_build.py b/boxtree/tree_build.py index c9ba5e10cf1cd0d01835a167d258ad9a7716d1fc..14941094a3ce02b4687426f48d8c4d25f6c459c8 100644 --- a/boxtree/tree_build.py +++ b/boxtree/tree_build.py @@ -92,7 +92,7 @@ class TreeBuilder(object): :arg stick_out_factor: See :attr:`Tree.stick_out_factor` and :ref:`extent`. :arg wait_for: may either be *None* or a list of :class:`pyopencl.Event` instances for whose completion this command waits before starting - exeuction. + execution. :arg non_adaptive: If *True*, return a tree in which all leaf boxes are on the same (last) level. The tree is pruned, in the sense that empty boxes have been eliminated. diff --git a/doc/index.rst b/doc/index.rst index 563c29db50c55e03502e6c5b19194175ec02fc07..9d86c8880f6a0c58e13b5f1fffcc3df8b362180f 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -25,7 +25,7 @@ included in the demo file), you can see what's going on: .. image:: images/tree.png More importantly, perhaps, than being able to draw the tree, the :class:`boxtree.Tree` -data structure is now accesible via the ``tree`` variable above, and the connecitivity +data structure is now accessible via the ``tree`` variable above, and the connectivity information needed for an FMM-like traversal is available in ``trav`` as a :class:`boxtree.traversal.FMMTraversalInfo`.