fn apply_inv_lap( f: &[f64], eig: &[f64], nx: usize, ny: usize, nz: usize, ) -> Vec<f64>
Apply inverse Laplacian using pre-computed eigenvalues