Barry Smith <[email protected]> writes:

>    PetscInitializeBegin()
>    PetscSetX()
>    PetscSetY()
>    ….
>    PetscInitializeEnd() 
>
>    where PetscInitialize() does the default of all of these things?

I'm not sure you need a special PetscInitializeEnd(), just
PetscInitializeMinimal() and then pass arguments to the
optional/customizable initialization steps.  It's easier to understand
an error that is returned from the function that caused it then to store
the arguments until one big function at the end, unless there are
terribly confusing ordering problems.

Attachment: pgpbBiAx0N3gA.pgp
Description: PGP signature

Reply via email to