auto_distributed_gs_solve

Function auto_distributed_gs_solve 

Source
pub fn auto_distributed_gs_solve(
    psi: &Array2<f64>,
    source: &Array2<f64>,
    r_axis: &[f64],
    z_axis: &[f64],
    dr: f64,
    dz: f64,
    omega: f64,
    tol: f64,
    max_iters: usize,
) -> FusionResult<DistributedSolveResult>
Expand description

Convenience: solve GS with automatic process-grid selection.

Detects the Rayon thread count and picks the optimal (pz, pr) factorisation. This is the top-level entry point for exascale-ready distributed equilibrium solving.