DOLFINx
0.1.0
DOLFINx C++ interface
|
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. More...
#include <PETScOptions.h>
Static Public Member Functions | |
static void | set (std::string option) |
Set PETSc option that takes no value. | |
template<typename T > | |
static void | set (std::string option, const T value) |
Generic function for setting PETSc option. | |
static void | clear (std::string option) |
Clear a PETSc option. | |
static void | clear () |
Clear PETSc global options database. | |
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.
PETScOptions::set("mat_mumps_icntl_14", 40);