KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Kratos::EigenSparseCGSolver< TScalar > Class Template Reference

#include <eigen_sparse_cg_solver.h>

Collaboration diagram for Kratos::EigenSparseCGSolver< TScalar >:

Public Types

using Scalar = TScalar
 
using SparseMatrix = Kratos::EigenSparseMatrix< Scalar >
 
using Vector = Kratos::EigenDynamicVector< Scalar >
 

Public Member Functions

void Initialize (Parameters settings)
 
bool Compute (Eigen::Map< const SparseMatrix > a)
 
bool Solve (Eigen::Ref< const Vector > b, Eigen::Ref< Vector > x) const
 
void PrintInfo (std::ostream &rOStream) const
 
std::string GetSolverErrorMessages () const
 

Static Public Member Functions

static std::string Name ()
 

Member Typedef Documentation

◆ Scalar

template<typename TScalar = double>
using Kratos::EigenSparseCGSolver< TScalar >::Scalar = TScalar

◆ SparseMatrix

template<typename TScalar = double>
using Kratos::EigenSparseCGSolver< TScalar >::SparseMatrix = Kratos::EigenSparseMatrix<Scalar>

◆ Vector

template<typename TScalar = double>
using Kratos::EigenSparseCGSolver< TScalar >::Vector = Kratos::EigenDynamicVector<Scalar>

Member Function Documentation

◆ Compute()

template<typename TScalar = double>
bool Kratos::EigenSparseCGSolver< TScalar >::Compute ( Eigen::Map< const SparseMatrix a)
inline

◆ GetSolverErrorMessages()

template<typename TScalar = double>
std::string Kratos::EigenSparseCGSolver< TScalar >::GetSolverErrorMessages ( ) const
inline

◆ Initialize()

template<typename TScalar = double>
void Kratos::EigenSparseCGSolver< TScalar >::Initialize ( Parameters  settings)
inline

◆ Name()

template<typename TScalar = double>
static std::string Kratos::EigenSparseCGSolver< TScalar >::Name ( )
inlinestatic

◆ PrintInfo()

template<typename TScalar = double>
void Kratos::EigenSparseCGSolver< TScalar >::PrintInfo ( std::ostream &  rOStream) const
inline

◆ Solve()

template<typename TScalar = double>
bool Kratos::EigenSparseCGSolver< TScalar >::Solve ( Eigen::Ref< const Vector b,
Eigen::Ref< Vector x 
) const
inline

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