setup_poisson_spectral_gpu

alternate GPU variant of spectral Poisson setup; CPU setup is the usual path.

compute.setup_poisson_spectral_gpu(atoms, grid_shape)

Set up the system for solving the Poisson equation using a spectral method.

Parameters

Name Type Description Default
atoms ASE Atoms object required
grid_shape Tuple of grid points in each direction required

Returns

Name Type Description
Charge density on grid, grid shape, and cell matrix