petsc4py.init#

petsc4py.init(args=None, arch=None, comm=None)#

Initialize PETSc.

Parameters:
Return type:

None

Notes

This function should be called only once, typically at the very beginning of the bootstrap script of an application.