Initialize PETSc.
args (str | list[str] | None) – Command-line arguments, usually the sys.argv list
sys.argv
arch (str | None) – Specific configuration to use
comm (Intracomm | None) – MPI commmunicator
None
Notes
This function should be called only once, typically at the very beginning of the bootstrap script of an application.
Contents
Python specifics