setup_poisson_spectral

compute.setup_poisson_spectral(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