DOLFIN
DOLFIN C++ interface
Public Member Functions | Static Public Member Functions | List of all members
dolfin::LUSolver Class Reference

LU solver for the built-in LA backends. More...

#include <LUSolver.h>

Inheritance diagram for dolfin::LUSolver:
Inheritance graph
[legend]
Collaboration diagram for dolfin::LUSolver:
Collaboration graph
[legend]

Public Member Functions

 LUSolver (MPI_Comm comm, std::string method="default")
 Constructor.
 
 LUSolver (std::string method="default")
 Constructor.
 
 LUSolver (MPI_Comm comm, std::shared_ptr< const GenericLinearOperator > A, std::string method="default")
 Constructor.
 
 LUSolver (std::shared_ptr< const GenericLinearOperator > A, std::string method="default")
 Constructor.
 
 ~LUSolver ()
 Destructor.
 
void set_operator (std::shared_ptr< const GenericLinearOperator > A)
 Set operator (matrix)
 
std::size_t solve (GenericVector &x, const GenericVector &b)
 Solve linear system Ax = b.
 
std::size_t solve (const GenericLinearOperator &A, GenericVector &x, const GenericVector &b)
 Solve linear system.
 
std::string parameter_type () const
 Return parameter type: "krylov_solver" or "lu_solver".
 
virtual void update_parameters (const Parameters &parameters)
 
- Public Member Functions inherited from dolfin::GenericLinearSolver
virtual void set_operators (std::shared_ptr< const GenericLinearOperator > A, std::shared_ptr< const GenericLinearOperator > P)
 Set operator (matrix) and preconditioner matrix.
 
- Public Member Functions inherited from dolfin::Variable
 Variable ()
 Create unnamed variable.
 
 Variable (const std::string name, const std::string label)
 Create variable with given name and label.
 
 Variable (const Variable &variable)
 Copy constructor.
 
virtual ~Variable ()
 Destructor.
 
const Variableoperator= (const Variable &variable)
 Assignment operator.
 
void rename (const std::string name, const std::string label)
 Rename variable.
 
std::string name () const
 Return name.
 
std::string label () const
 Return label (description)
 
std::size_t id () const
 
virtual std::string str (bool verbose) const
 Return informal string representation (pretty-print)
 

Static Public Member Functions

static Parameters default_parameters ()
 Default parameter values.
 

Additional Inherited Members

- Public Attributes inherited from dolfin::Variable
Parameters parameters
 Parameters.
 
- Static Protected Member Functions inherited from dolfin::GenericLinearSolver
static const GenericMatrixrequire_matrix (const GenericLinearOperator &A)
 
static std::shared_ptr< const GenericMatrixrequire_matrix (std::shared_ptr< const GenericLinearOperator > A)
 

Detailed Description

LU solver for the built-in LA backends.

Member Function Documentation

◆ update_parameters()

virtual void dolfin::LUSolver::update_parameters ( const Parameters parameters)
inlinevirtual

Update solver parameters (pass parameters down to wrapped implementation)

Reimplemented from dolfin::GenericLinearSolver.


The documentation for this class was generated from the following files: