luminarycloud.params.simulation.physics.solution_controls.linear_solver_type

Classes

GaussSeidel

Gauss-Seidel iterative method.

KrylovAmg

AMG + Krylov iterative method.

Package Contents

class GaussSeidel

Gauss-Seidel iterative method.

iterations: int = 15

Maximum number of linear solver iterations per nonlinear solution update. The linear solver terminates if the maximum is reached.

tolerance: luminarycloud.types.LcFloat = 0.05

Relative reduction target in the linear solver residual from an initial value of 1.0 per nonlinear solution update. The linear solver terminates if the tolerance is met.

class KrylovAmg

AMG + Krylov iterative method.

coarsening_size: int = 8

Linear Solver AMG Coarsening Sizing.

freeze_levels_threshold: int = 300

Iteration at which the AMG levels are freezed.

iterations: int = 15

Maximum number of linear solver iterations per nonlinear solution update. The linear solver terminates if the maximum is reached.

levels: int = 20

Linear Solver AMG Level.

multigrid_cycle: luminarycloud.params.enum.LinsolAmgCycleType

AMG cycle type.

post_sweeps: int = 1

Linear Solver AMG Post-Sweeps.

pre_sweeps: int = 1

Linear Solver AMG Pre-Sweeps.

relaxation: LcFloat = 0.75

Linear Solver AMG Relaxation applied to the smoother.

smoother: luminarycloud.params.enum.LinsolAmgSmoother

AMG cycle smoother.

tolerance: luminarycloud.types.LcFloat = 0.05

Relative reduction target in the linear solver residual from an initial value of 1.0 per nonlinear solution update. The linear solver terminates if the tolerance is met.