[petsc-dev] PetscOptionsBegin etc all use global variables

Jed Brown jedbrown at mcs.anl.gov
Sun Nov 3 17:36:21 CST 2013


Shri <abhyshr at mcs.anl.gov> writes:
> On a side note, an additional complexity to think about is if the user
> wants to set different solver/user options for each thread. One
> possibility to handle this is to use prefix -thread#num_option_name
> for it but it looks clunky.

I think the user can be responsible for setting different prefixes for
the objects that they want to control differently.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131103/2f8f74c0/attachment.sig>


More information about the petsc-dev mailing list