Skip to content

DDMParams

ferreus_rbf.config.DDMParams(leaf_threshold, overlap_knn, coarse_reduction_factor, coarse_threshold)

Parameters controlling construction of the domain decomposition hierarchy.

ferreus_rbf employs a domain decomposition preconditioner to accelerate convergence of the iterative RBF solver. The algorithm recursively partitions the input point cloud into a hierarchy of overlapping subdomains, within which local RBF systems are solved directly and combined to form a global preconditioner.

This class defines the key thresholds and ratios governing how that hierarchy is generated - for example, the number of points permitted per leaf domain, how much overlap occurs between neighboring subdomains, and the scale at which coarse levels are formed.

Intended Usage

This configuration is part of the public API mainly for developers and advanced users who wish to experiment with or tune the decomposition process. For example, increasing subdomain overlap and coarse ratio can improve convergence, but at the cost of higher memory usage. In general, the default values have been selected to provide a robust trade-off between memory usage and solver performance across a wide range of problem sizes.

Default values when DDMParams isn't provided to RBFInterpolator:

  • leaf_threshold: 256
  • overlap_knn: 16
  • coarse_reduction_factor: 128
  • coarse_threshold: SizePolicy.Auto

Parameters:

Name Type Description Default
leaf_threshold int

Target maximum number of internal points within a leaf domain.

required
overlap_knn int

Number of nearest neighbours of each internal point to query to find overlapping points.

required
coarse_reduction_factor int

Maximum reduction factor between consecutive levels of the domain decomposition hierarchy.

required
coarse_threshold SizePolicy

Maximum number of points in the coarsest level. Auto uses ceil(N / 32), clamped between 512 and 4096, after duplicate removal. Fixed(n) uses the provided positive limit without adjusting it.

required