TAOLinearBoundSolver

class dolfin.cpp.la.TAOLinearBoundSolver(*args)

Bases: dolfin.cpp.common.Variable, dolfin.cpp.la.PETScObject

This class provides a bound constrained solver for a linear variational inequality defined by a matrix A and a vector b. It solves the problem:

Find \(x_l\leq x\leq x_u\) such that :math:`(Ax-b)cdot (y-x)geq 0,;

orall x_lleq yleq x_u`

It is a wrapper for the TAO bound constrained solver.

Example

Note

No example code available for this function.

Overloaded versions

  • TAOLinearBoundSolver(comm)

    Create TAO bound constrained solver

  • TAOLinearBoundSolver(“default”, “default”, “default”)

    Create TAO bound constrained solver

static default_parameters()

Default parameter values

get_matrix()
get_vector()
static krylov_solvers()

Return a list of available krylov solvers

static methods()

Return a list of available Tao solver methods

static preconditioners()

Return a list of available preconditioners

set_ksp()

Set PETSC Krylov Solver (ksp) used by TAO

set_solver()
solve()

Overloaded versions

  • solve(A, x, b, xl, xu)

    Solve the linear variational inequality defined by A and b with xl =< x <= xu

  • solve(A, x, b, xl, xu)

    Solve the linear variational inequality defined by A and b with xl =< x <= xu

tao()
thisown

The membership flag