FEMSimulation.set_solver_opt
- FEMSimulation.set_solver_opt(ksp_type=None, pc_type=None, ksp_rtol=None, ksp_atol=None, ksp_max_it=None, **kwargs)[source]
set krylov solver options
- Parameters:
ksp_type (str) – value to set for ksp_type (solver type), if None don”t change, None by default
pc_type (str) – value to set for pc_type (preconditioner type), if None don”t change, None by default list of possible
ksp_rtol (float) – value to set for ksp_rtol (relative tolerance), if None don”t change, None by default
ksp_atol (float) – value to set for ksp_atol (absolute tolerance), if None don”t change, None by default
ksp_max_it (int) – value to set for ksp_max_it (max number of iterations), if None don”t change, None by default