Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/v0.1.0/v0.9.0/cpp
DOLFINx  0.1.0
DOLFINx C++ interface
Functions
dolfinx::common::subsystem Namespace Reference

Function in this namesspace are convenience functtions for the initialisation and finalisation of various sub systems, such as MPI and PETSc. More...

Functions

void init_mpi ()
 Initialise MPI.
 
void init_mpi (int argc, char *argv[])
 Initialise MPI.
 
void init_logging (int argc, char *argv[])
 Initialise loguru.
 
void init_petsc ()
 Initialize PETSc (and SLEPc, if configured) without command-line arguments.
 
void init_petsc (int argc, char *argv[])
 Initialize PETSc (and SLEPc, if configured) with command-line arguments.
 
bool mpi_initialized ()
 Check if MPI has been initialised (returns true if MPI has been initialised, even if it is later finalised)
 
bool mpi_finalized ()
 Check if MPI has been finalized (returns true if MPI has been finalised)
 
void finalize_mpi ()
 Finalize MPI.
 
void finalize_petsc ()
 Finalize PETSc.
 

Detailed Description

Function in this namesspace are convenience functtions for the initialisation and finalisation of various sub systems, such as MPI and PETSc.