Skip to content

Commit d067a49

Browse files
committed
add recursive clustering and skeletonization
1 parent 814b8ac commit d067a49

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pytential/linalg/cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def make_block(i: int, j: int):
232232

233233
# {{{ cluster generation
234234

235-
def _build_binary_ish_tree_from_starts(starts: np.ndarray) -> ClusterTree:
235+
def _build_binary_ish_tree_from_indices(starts: np.ndarray) -> ClusterTree:
236236
partition_box_ids = np.arange(starts.size - 1)
237237

238238
box_ids = partition_box_ids
@@ -325,7 +325,7 @@ def partition_by_nodes(
325325
starts = np.linspace(0, discr.ndofs, nclusters + 1, dtype=np.int64)
326326
assert starts[-1] == discr.ndofs
327327

328-
ctree = _build_binary_ish_tree_from_starts(starts)
328+
ctree = _build_binary_ish_tree_from_indices(starts)
329329

330330
from pytential.linalg import make_index_list
331331
return make_index_list(indices, starts=starts), ctree

0 commit comments

Comments
 (0)