Re: [petsc-dev] PetscOptionsXXX, PetscOptionsGetXX, and PetscBag in Fortran

2023-05-16 Thread Blaise Bourdin
Barry, You are my hero… Blaise On May 16, 2023, at 12:53 PM, Barry Smith wrote:   Using block might be possible, but I would say is likely overkill; better just to skip the "local scope" that the C versions of the routines have. No one ever used the GUI interface,

Re: [petsc-dev] PetscOptionsXXX, PetscOptionsGetXX, and PetscBag in Fortran

2023-05-16 Thread Barry Smith
Using block might be possible, but I would say is likely overkill; better just to skip the "local scope" that the C versions of the routines have. No one ever used the GUI interface, so that code is all unnecessary plus a Fortran programmer would never use a GUI anyways :-) https://gitlab.

[petsc-dev] PetscOptionsXXX, PetscOptionsGetXX, and PetscBag in Fortran

2023-05-16 Thread Blaise Bourdin
Hi, I am revisiting the way I handle options my fortran fracture code. I see the following options: - use PetscGetXXX, with the caveat that as far as I can see options define this way do not show up when using -help - use PetscBags, which is what I do now. It is a bit convoluted and I am