|
|
| AmesosSolver (Parameters settings) |
| Constructor with Parameters. More...
|
|
| AmesosSolver (const std::string &SolverName, Teuchos::ParameterList &rParameterList) |
| Constructor with solver-name and Teuchos::ParameterList. More...
|
|
| AmesosSolver (const AmesosSolver &Other)=delete |
| Copy constructor. More...
|
|
| ~AmesosSolver () override=default |
| Destructor. More...
|
|
|
AmesosSolver & | operator= (const AmesosSolver &Other)=delete |
| Assignment operator. More...
|
|
|
bool | Solve (SparseMatrixType &rA, VectorType &rX, VectorType &rB) override |
|
bool | Solve (SparseMatrixType &rA, DenseMatrixType &rX, DenseMatrixType &rB) override |
|
|
void | PrintInfo (std::ostream &rOStream) const override |
| Print information about this object. More...
|
|
| LinearSolver () |
| Default constructor. More...
|
|
| LinearSolver (Reorderer< TSparseSpaceType, TDenseSpaceType > NewReorderer) |
| Constructor with specific reorderer. More...
|
|
| LinearSolver (const LinearSolver &Other) |
| Copy constructor. More...
|
|
virtual | ~LinearSolver () |
| Destructor. More...
|
|
LinearSolver & | operator= (const LinearSolver &Other) |
| Assignment operator. More...
|
|
virtual void | Initialize (SparseMatrixType &rA, VectorType &rX, VectorType &rB) |
|
virtual void | InitializeSolutionStep (SparseMatrixType &rA, VectorType &rX, VectorType &rB) |
|
virtual void | PerformSolutionStep (SparseMatrixType &rA, VectorType &rX, VectorType &rB) |
|
virtual void | FinalizeSolutionStep (SparseMatrixType &rA, VectorType &rX, VectorType &rB) |
|
virtual void | Clear () |
|
virtual void | Solve (SparseMatrixType &K, SparseMatrixType &M, DenseVectorType &Eigenvalues, DenseMatrixType &Eigenvectors) |
|
virtual bool | AdditionalPhysicalDataIsNeeded () |
|
virtual void | ProvideAdditionalData (SparseMatrixType &rA, VectorType &rX, VectorType &rB, typename ModelPart::DofsArrayType &rDoFSet, ModelPart &rModelPart) |
|
virtual TReordererType::Pointer | GetReorderer () |
|
virtual void | SetReorderer (typename TReordererType::Pointer pNewReorderer) |
|
virtual void | SetTolerance (double NewTolerance) |
| This method allows to set the tolerance in the linear solver. More...
|
|
virtual double | GetTolerance () |
| This method allows to get the tolerance in the linear solver. More...
|
|
virtual IndexType | GetIterationsNumber () |
|
virtual bool | IsConsistent (SparseMatrixType &rA, VectorType &rX, VectorType &rB) |
| This method checks if the dimensions of the system of equations are consistent. More...
|
|
virtual bool | IsConsistent (SparseMatrixType &rA, DenseMatrixType &rX, DenseMatrixType &rB) |
| This method checks if the dimensions of the system of equations are consistent (dense matrix for RHS and unknowns version) More...
|
|
virtual bool | IsNotConsistent (SparseMatrixType &rA, VectorType &rX, VectorType &rB) |
| This method checks if the dimensions of the system of equations are not consistent. More...
|
|
virtual bool | IsNotConsistent (SparseMatrixType &rA, DenseMatrixType &rX, DenseMatrixType &rB) |
| This method checks if the dimensions of the system of equations are not consistent. More...
|
|
virtual std::string | Info () const |
| Turn back information as a string. More...
|
|
virtual void | PrintData (std::ostream &rOStream) const |
| Print object's data. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (LinearSolver) |
| Pointer definition of LinearSolver. More...
|
|
template<class TSparseSpaceType, class TDenseSpaceType, class TReordererType = Reorderer<TSparseSpaceType, TDenseSpaceType>>
class Kratos::AmesosSolver< TSparseSpaceType, TDenseSpaceType, TReordererType >
Wrapper for Trilinos-Amesos Direct Solvers.
Amesos is the Direct Sparse Solver Package in Trilinos. The goal of Amesos is to make AX=B as easy as it sounds, at least for direct methods. Amesos provides clean and consistent interfaces to several third party libraries. https://github.com/trilinos/Trilinos/tree/master/packages/amesos