PETScOptions

class dolfin.cpp.la.PETScOptions

Bases: object

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

PETScOptions::set(“mat_mumps_icntl_14”, 40.0);
static clear(*args)

Clear PETSc option

static set(*args)

Overloaded versions

  • set(option)

    Set PETSc option that takes no value

  • set(option, value)

    Set PETSc boolean option

  • set(option, value)

    Set PETSc integer option

  • set(option, value)

    Set PETSc double option

  • set(option, value)

    Set PETSc string option

  • set(option, value)

    Genetic function for setting PETSc option

thisown

The membership flag