From 870795cca3b23e8af3f40c82f9ac1dd75883068e Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Mon, 23 Apr 2018 13:16:54 -0500 Subject: [PATCH] Fix the description of the indexing of lists 3 far and close. * The lookup array for list 3 far contains global box numbers. * List 3 close is indexed by target box numbers, not target or target-parent box numbers. --- boxtree/traversal.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/boxtree/traversal.py b/boxtree/traversal.py index d7cda23..05781cb 100644 --- a/boxtree/traversal.py +++ b/boxtree/traversal.py @@ -1304,12 +1304,11 @@ class FMMTraversalInfo(DeviceDataRecord): through "List 3", but must be evaluated specially/directly because of :ref:`extent`. - Indexed like :attr:`target_or_target_parent_boxes`. See :ref:`csr`. - .. attribute:: target_boxes_sep_smaller_by_source_level - A list of arrays, one per level, indicating which target boxes are used with - the interaction list entries of :attr:`from_sep_smaller_by_level`. + A list of arrays of global box numbers, one array per level, indicating + which boxes are used with the interaction list entries of + :attr:`from_sep_smaller_by_level`. ``target_boxes_sep_smaller_by_source_level[i]`` has length ``from_sep_smaller_by_level[i].num_nonempty_lists`. @@ -1332,6 +1331,8 @@ class FMMTraversalInfo(DeviceDataRecord): .. attribute:: from_sep_close_smaller_starts + Indexed like :attr:`target_boxes`. See :ref:`csr`. + ``box_id_t [ntarget_boxes+1]`` (or *None*) .. attribute:: from_sep_close_smaller_lists -- GitLab