Skip to content

FmmParams

ferreus_bbfmm.FmmParams(max_points_per_cell, compression_type, epsilon, eval_chunk_size)

Optional parameters for tuning the FMM performance.

Parameters:

Name Type Description Default
max_points_per_cell int

Maximum number of points per cell before it must be subdivided. When FmmParams is not provided the default value is 256.

required
compression_type M2LCompressionType

The type of compression to apply to the M2L operators. When FmmParams is not provided the default value is ACA.

required
epsilon float

Tolerance threshold for M2L compression. When FmmParams is not provided the default value is 10^-interpolation_order

required
eval_chunk_size int

Number of target points to evaluate in each chunk. When FmmParams is not provided the default value is 1024.

required