Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
This is a singleton class which manages the initialisation and finalisation of various sub systems, such as MPI and PETSc.
Initialise MPI
Initialise MPI with required level of thread support
Initialize PETSc without command-line arguments
Initialize PETSc with command-line arguments. Note that PETSc command-line arguments may also be filtered and sent to PETSc by parameters.parse(argc, argv).
Finalize subsystems. This will be called by the destructor, but in special cases it may be necessary to call finalize() explicitly.
Return true if DOLFIN initialised MPI (and is therefore responsible for finalization)
Return true if DOLFIN initialised PETSc (and is therefore responsible for finalization)
Check if MPI has been initialised (returns true if MPI has been initialised, even if it is later finalised)
Check if MPI has been finalized (returns true if MPI has been finalised)