DOLFINx 0.9.0
DOLFINx C++ interface
Loading...
Searching...
No Matches
dolfinx::la::petsc::options Namespace Reference

Functions

void set (std::string option)
 Set PETSc option that takes no value.
 
template<typename T >
void set (std::string option, const T value)
 Generic function for setting PETSc option.
 
void clear (std::string option)
 Clear a PETSc option.
 
void clear ()
 Clear PETSc global options database.
 

Detailed Description

These class provides static functions that permit users to set and retrieve PETSc options via the PETSc option/parameter system. The option must not be prefixed by '-', e.g.

la::petsc::options::set("mat_mumps_icntl_14", 40);