Poisson.GlobalParams#

class Poisson.GlobalParams(N: int = 0, omega: float = 0.75, tolerance: float = 1e-10, max_iter: int = 100000, mpi_size: int = 1, decomposition: str = 'none', communicator: str = 'none', use_numba: bool = False, numba_threads: int = 4)[source]#

Bases: object

Global problem definition (all ranks have identical copy).

Note: N is the GLOBAL grid size (before domain decomposition). The solver internally computes N_local for each rank after decomposition.

N: int = 0#
communicator: str = 'none'#
decomposition: str = 'none'#
max_iter: int = 100000#
mpi_size: int = 1#
numba_threads: int = 4#
omega: float = 0.75#
tolerance: float = 1e-10#
use_numba: bool = False#