[petsc-dev] pc_factor_shift_type from command line

Brad Aagaard baagaard at usgs.gov
Tue Mar 9 13:12:53 CST 2010


I am having trouble updating my petsc command line arguments to conform 
to changeset 15295 that introduced shifttype.

My old settings were turn off positive definite, turn on nonzero, so I 
am trying to migrate from

sub_pc_factor_shift_positive_definite = 0
sub_pc_factor_shift_nonzero =

to

sub_pc_factor_shift_type = nonzero

but nonzero or NONZERO doesn't work. I can't figure out the appropriate 
string (assuming there is one like matrix type).

Brad



More information about the petsc-dev mailing list