WallGo.config.ConfigGrid

class ConfigGrid(spatialGridSize=40, momentumGridSize=11, ratioPointsWall=0.5, smoothing=0.1)[source]

Bases: object

Holds the config of the Grid3Scales class.

Parameters:
  • spatialGridSize (int)

  • momentumGridSize (int)

  • ratioPointsWall (float)

  • smoothing (float)

__init__(spatialGridSize=40, momentumGridSize=11, ratioPointsWall=0.5, smoothing=0.1)
Parameters:
  • spatialGridSize (int)

  • momentumGridSize (int)

  • ratioPointsWall (float)

  • smoothing (float)

Return type:

None

Methods

__init__([spatialGridSize, ...])

Attributes

momentumGridSize

Number of grid points in the momentum directions (N in 2204.13120).

ratioPointsWall

Fraction of points inside the wall defined by the interval [-wallThickness+wallCenter, wallThickness+wallCenter].

smoothing

Smoothing factor of the mapping function (the larger the smoother).

spatialGridSize

Number of grid points in the spatial direction (M in 2204.13120).

momentumGridSize: int = 11

Number of grid points in the momentum directions (N in 2204.13120). MUST BE ODD.

ratioPointsWall: float = 0.5

Fraction of points inside the wall defined by the interval [-wallThickness+wallCenter, wallThickness+wallCenter]. Should be a number between 0 and 1.

smoothing: float = 0.1

Smoothing factor of the mapping function (the larger the smoother).

spatialGridSize: int = 40

Number of grid points in the spatial direction (M in 2204.13120).