iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | List of all members
imstk::DirectLinearSolver< Matrixd > Class Template Reference
Inheritance diagram for imstk::DirectLinearSolver< Matrixd >:
Inheritance graph
[legend]
Collaboration diagram for imstk::DirectLinearSolver< Matrixd >:
Collaboration graph
[legend]

Public Member Functions

 DirectLinearSolver (const Matrixd &A, const Vectord &b)
 
void solve (Vectord &x) override
 Solve the system of equations.
 
void solve (const Vectord &rhs, Vectord &x)
 Solve the system of equations for arbitrary right hand side vector.
 
void setSystem (std::shared_ptr< LinearSystemType > newSystem) override
 Sets the system. System of linear equations.
 
void setSystem (std::shared_ptr< Matrixd > matrix)
 Sets the matrix.
 
bool isIterative () const override
 Returns true if the solver is iterative.
 
- Public Member Functions inherited from imstk::LinearSolver< Matrixd >
 LinearSolver ()
 Default constructor/destructor.
 
virtual void setSystem (std::shared_ptr< LinearSystemType > newSystem)
 Set/get the system. Replaces/Returns the stored linear system of equations.
 
std::shared_ptr< LinearSystemTypegetSystem () const
 
void setTolerance (const double tolerance)
 Set solver tolerance.
 
double getTolerance () const
 Get solver tolerance.
 
virtual void print () const
 Print solver information.
 
Type getType ()
 Return the type of the solver.
 

Additional Inherited Members

- Public Types inherited from imstk::LinearSolver< Matrixd >
enum  Type
 
using MatrixType = Matrixd
 
using LinearSystemType = LinearSystem< MatrixType >
 
- Protected Attributes inherited from imstk::LinearSolver< Matrixd >
Type m_type
 Type of the scene object.
 
double m_tolerance
 default tolerance
 
std::shared_ptr< LinearSystemTypem_linearSystem
 Linear system of equations.
 

Detailed Description

template<>
class imstk::DirectLinearSolver< Matrixd >

Definition at line 33 of file imstkDirectLinearSolver.h.


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