4.1.5.1.5 pde.backends.scipy.operators.spherical_sym module
This module implements differential operators on spherical grids.
Make a operator that solves Poisson's equation. |
- make_poisson_solver(bcs, *, method='auto')[source]
Make a operator that solves Poisson’s equation.
The polar grid assumes polar symmetry, so that fields only depend on the radial coordinate r. The radial discretization is defined as \(r_i = r_\mathrm{min} + (i + \frac12) \Delta r\) for \(i=0, \ldots, N_r-1\), where \(r_\mathrm{min}\) is the radius of the inner boundary, which is zero by default. Note that the radius of the outer boundary is given by \(r_\mathrm{max} = r_\mathrm{min} + N_r \Delta r\).
- Parameters:
bcs (
BoundariesList) – Specifies the boundary conditions applied to the field. This must be an instance ofBoundariesList, which can be created from various data formats using the class methodfrom_data().method (str) – The chosen method for implementing the operator
- Returns:
A function that can be applied to an array of values
- Return type:
OperatorImplType