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:
objectGlobal 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.