solve_poisson_spectral_gpu
alternate GPU spectral Poisson solve paired with setup_poisson_spectral_gpu.
compute.solve_poisson_spectral_gpu(atoms, grid_spacing=0.2, epsilon_r=1.0)Solve the Poisson equation using a spectral method for non-orthogonal, periodic systems.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| atoms | ASE Atoms object | required | |
| grid_spacing | Desired grid spacing in Angstroms | 0.2 |
|
| epsilon_r | Relative permittivity of the system | 1.0 |
Returns
| Name | Type | Description |
|---|---|---|
| Electrostatic potential (V), grid shape, and cell matrix |