parameters: (grid: GridType, times=1)
return_statement: return type(grid)(values=values, bounds=grid.bounds, extrapolation=grid.extrapolation)
docstring: See `phi.math.fourier_poisson()`
docstring_summary: See `phi.math.fourier_poisson()`
docstring_tokens: See phi . math . fourier_poisson ()
function: def fourier_poisson(grid: GridType, times=1) -> GridType:
      """ See `phi.math.fourier_poisson()` """
      assert grid.extrapolation.spatial_gradient() == math.extrapolation.PERIODIC
      values = math.fourier_poisson(grid.values, dx=grid.dx, times=times)
      return type(grid)(values=values, bounds=grid.bounds, extrapolation=grid.extrapolation)
function_tokens: def fourier_poisson ( grid : GridType , times = 1 ) -> GridType : assert grid . extrapolation . spatial_gradient ( ) == math . extrapolation . PERIODIC values = math . fourier_poisson ( grid . values , dx = grid . dx , times = times ) return type ( grid ) ( values = values , bounds = grid . bounds , extrapolation = grid . extrapolation )