Mark Adams <[email protected]> writes: > We use prefixes. I left them out of the example. So things like > '-s2_pc_type fieldsplit' cause an error. The 's2_' solver is a one field > (Laplacian) solve.
So when you say to use fieldsplit for a solve with only one field, you get an error saying that fieldsplit requires at least two fields? 1. Don't do that. 2. Sounds like the error message is correct. 3. Perhaps consider using a more intuitive prefix than "s2_". When someone unfamiliar with your code sees "-s2_pc_type fieldsplit" their first thought will be that "s2_" is a multi-field solve of some sort. If they instead saw "-laplacian_pc_type fieldsplit" or "-pressure_pc_type fieldsplit", they might ask why fieldsplit was being attempted for what seems to be a scalar solve. Let us know if you see a way to improve the message or handling of this case.
pgp4hlqwVUtpc.pgp
Description: PGP signature
