Skip to content

Instantly share code, notes, and snippets.

@wence-
Created February 10, 2016 10:28
Show Gist options
  • Select an option

  • Save wence-/fa9f7c3d9e7689687119 to your computer and use it in GitHub Desktop.

Select an option

Save wence-/fa9f7c3d9e7689687119 to your computer and use it in GitHub Desktop.
wence_params={'pc_type': 'fieldsplit',
'pc_fieldsplit_type': 'schur',
'ksp_type': 'gmres',
'ksp_max_it': 100,
'ksp_gmres_restart': 50,
'pc_fieldsplit_schur_fact_type': 'FULL',
'pc_fieldsplit_schur_precondition': 'selfp',
'fieldsplit_0_ksp_type': 'richardson',
'fieldsplit_0_ksp_max_it': 2,
'fieldsplit_0_pc_type': 'bjacobi',
'fieldsplit_0_sub_pc_type': 'ilu',
'fieldsplit_1_ksp_type': 'preonly',
'fieldsplit_1_ksp_max_it': 2,
'fieldsplit_1_ksp_monitor': True,
'fieldsplit_1_pc_type': 'gamg',
'fieldsplit_1_mg_levels_ksp_type': 'chebyshev',
'fieldsplit_1_mg_levels_ksp_chebyshev_estimate_eigenvalues': True,
'fieldsplit_1_mg_levels_ksp_chebyshev_estimate_eigenvalues_random': True,
'fieldsplit_1_mg_levels_ksp_max_it': 5,
'fieldsplit_1_mg_levels_pc_type': 'bjacobi',
'fieldsplit_1_mg_levels_sub_pc_type': 'ilu'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment