DOLFIN
DOLFIN C++ interface
|
Base class for LinearAlgebra factories. More...
#include <GenericLinearAlgebraFactory.h>
Classes | |
class | NotImplementedLinearOperator |
Public Member Functions | |
GenericLinearAlgebraFactory () | |
Constructor. | |
virtual | ~GenericLinearAlgebraFactory () |
Destructor. | |
virtual std::shared_ptr< GenericMatrix > | create_matrix (MPI_Comm comm) const =0 |
Create empty matrix. | |
virtual std::shared_ptr< GenericVector > | create_vector (MPI_Comm comm) const =0 |
Create empty vector. | |
virtual std::shared_ptr< TensorLayout > | create_layout (MPI_Comm comm, std::size_t rank) const =0 |
Create empty tensor layout. | |
virtual std::shared_ptr< GenericLinearOperator > | create_linear_operator (MPI_Comm comm) const =0 |
Create empty linear operator. | |
virtual std::shared_ptr< GenericLinearSolver > | create_lu_solver (MPI_Comm comm, std::string method) const =0 |
Create LU solver. | |
virtual std::shared_ptr< GenericLinearSolver > | create_krylov_solver (MPI_Comm comm, std::string method, std::string preconditioner) const =0 |
Create Krylov solver. | |
virtual std::map< std::string, std::string > | lu_solver_methods () const |
virtual std::map< std::string, std::string > | krylov_solver_methods () const |
virtual std::map< std::string, std::string > | krylov_solver_preconditioners () const |
Base class for LinearAlgebra factories.
|
inlinevirtual |
Return a list of available Krylov solver methods. This function should be overloaded by subclass if non-empty.
Reimplemented in dolfin::EigenFactory, dolfin::PETScFactory, dolfin::DefaultFactory, and dolfin::TpetraFactory.
|
inlinevirtual |
Return a list of available preconditioners. This function should be overloaded by subclass if non-empty.
Reimplemented in dolfin::EigenFactory, dolfin::PETScFactory, dolfin::DefaultFactory, and dolfin::TpetraFactory.
|
inlinevirtual |
Return a list of available LU solver methods. This function should be overloaded by subclass if non-empty.
Reimplemented in dolfin::EigenFactory, dolfin::PETScFactory, dolfin::DefaultFactory, and dolfin::TpetraFactory.