On Tue, Jan 20, 2009 at 10:36, Derek Gaston <[email protected]> wrote: > Currently we have to get > ahold of the KSP object for each system and manually twiddle the > options with Petsc calls
Set a prefix any time you have more than 1 KSP or SNES object. Then you can put this twiddling in a config file (see -options_file) and still override it from the command line. Presumably something similar is possible in Trilinos, but I think hard-coding this stuff is really bad unless your code is actively making solver decisions based on how the analysis is going. Jed ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
