Grid

Class Methods

__init__(z_min, z_max, dz)

Initialize the grid object.

set_grid_range([step_start, step_stop])

Restrict the grid to the range [step_start, step_stop].

Class Attributes and Properties

dz

The step size of the grid in the scaled dimensionless coordinate z = sqrt{x}.

steps

The number of steps in the grid.

x_list

The grid in the dimensionless coordinate x = r/a_0.

x_max

The maximum value of the dimensionless coordinate x = r/a_0.

x_min

The minimum value of the dimensionless coordinate x = r/a_0.

z_list

The grid in the scaled dimensionless coordinate z = sqrt{x}.

z_max

The maximum value of the scaled dimensionless coordinate z = sqrt{x}.

z_min

The minimum value of the scaled dimensionless coordinate z = sqrt{x}.

class ryd_numerov.radial.Grid(z_min, z_max, dz)[source]

Initialize the grid object.

Parameters:
  • z_min (float) – The minimum value of the scaled dimensionless coordinate z = sqrt{x}.

  • z_max (float) – The maximum value of the scaled dimensionless coordinate z = sqrt{x}.

  • dz (float) – The step size of the grid in the scaled dimensionless coordinate z = sqrt{x}

  • provided). ((exactly one of dz or steps must be)

  • steps – The number of steps in the grid (exactly one of dz or steps must be provided).

property steps: int

The number of steps in the grid.

property dz: float

The step size of the grid in the scaled dimensionless coordinate z = sqrt{x}.

property z_min: float

The minimum value of the scaled dimensionless coordinate z = sqrt{x}.

property z_max: float

The maximum value of the scaled dimensionless coordinate z = sqrt{x}.

property z_list: ndarray[tuple[int, ...], dtype[Any]]

The grid in the scaled dimensionless coordinate z = sqrt{x}.

In this coordinate the grid points are chosen equidistant, because the nodes of the wavefunction are equally spaced in this coordinate.

property x_min: float

The minimum value of the dimensionless coordinate x = r/a_0.

property x_max: float

The maximum value of the dimensionless coordinate x = r/a_0.

property x_list: ndarray[tuple[int, ...], dtype[Any]]

The grid in the dimensionless coordinate x = r/a_0.

set_grid_range(step_start=None, step_stop=None)[source]

Restrict the grid to the range [step_start, step_stop].

Return type:

None

Parameters:
  • step_start (int | None)

  • step_stop (int | None)