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.
List of all members
Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType > Class Template Reference

ILU0Preconditioner class. More...

#include <ilu0_preconditioner.h>

Inheritance diagram for Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >:
Collaboration diagram for Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >:

Public Member Functions

Life Cycle
 ILU0Preconditioner ()
 Default constructor. More...
 
 ~ILU0Preconditioner () override
 Copy constructor. More...
 
Operations
void Initialize (SparseMatrixType &rA, VectorType &rX, VectorType &rB) override
 
Input and output
std::string Info () const override
 Return information about this object. More...
 
void PrintInfo (std::ostream &OStream) const override
 Print information about this object. More...
 
void PrintData (std::ostream &OStream) const override
 Print object's data. More...
 
- Public Member Functions inherited from Kratos::ILUPreconditioner< TSparseSpaceType, TDenseSpaceType >
 ILUPreconditioner ()
 Default constructor. More...
 
 ILUPreconditioner (const ILUPreconditioner &Other)
 Copy constructor. More...
 
 ~ILUPreconditioner () override
 Destructor. More...
 
ILUPreconditioneroperator= (const ILUPreconditioner &Other)
 Assignment operator. More...
 
void Mult (SparseMatrixType &rA, VectorType &rX, VectorType &rY) override
 
void TransposeMult (SparseMatrixType &rA, VectorType &rX, VectorType &rY) override
 
VectorTypeApplyLeft (VectorType &rX) override
 
VectorTypeApplyTransposeLeft (VectorType &rX) override
 
std::string Info () const override
 Return information about this object. More...
 
void PrintInfo (std::ostream &OStream) const override
 Print information about this object. More...
 
void PrintData (std::ostream &OStream) const override
 Print object's data. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (ILUPreconditioner)
 Counted pointer of ILUPreconditioner. More...
 
- Public Member Functions inherited from Kratos::Preconditioner< TSparseSpaceType, TDenseSpaceType >
 Preconditioner ()
 Default constructor. More...
 
 Preconditioner (const Preconditioner &Other)
 Copy constructor. More...
 
virtual ~Preconditioner ()
 Destructor. More...
 
Preconditioneroperator= (const Preconditioner &Other)
 Assignment operator. More...
 
virtual void Initialize (SparseMatrixType &rA, DenseMatrixType &rX, DenseMatrixType &rB)
 
virtual void InitializeSolutionStep (SparseMatrixType &rA, VectorType &rX, VectorType &rB)
 
virtual void FinalizeSolutionStep (SparseMatrixType &rA, VectorType &rX, VectorType &rB)
 
virtual void Clear ()
 
virtual bool AdditionalPhysicalDataIsNeeded ()
 
virtual void ProvideAdditionalData (SparseMatrixType &rA, VectorType &rX, VectorType &rB, typename ModelPart::DofsArrayType &rdof_set, ModelPart &r_model_part)
 
virtual VectorTypeApplyRight (VectorType &rX)
 
virtual VectorTypeApplyTransposeRight (VectorType &rX)
 
virtual VectorTypeApplyInverseRight (VectorType &rX)
 
virtual VectorTypeFinalize (VectorType &rX)
 
 KRATOS_CLASS_POINTER_DEFINITION (Preconditioner)
 Pointer definition of Preconditioner. More...
 

Type Definitions

typedef ILUPreconditioner< TSparseSpaceType, TDenseSpaceType > BaseType
 
typedef TSparseSpaceType::MatrixType SparseMatrixType
 
typedef TSparseSpaceType::VectorType VectorType
 
typedef TDenseSpaceType::MatrixType DenseMatrixType
 
 KRATOS_CLASS_POINTER_DEFINITION (ILU0Preconditioner)
 Counted pointer of ILU0Preconditioner. More...
 

Additional Inherited Members

- Public Types inherited from Kratos::ILUPreconditioner< TSparseSpaceType, TDenseSpaceType >
typedef Preconditioner< TSparseSpaceType, TDenseSpaceType > BaseType
 
typedef TSparseSpaceType::MatrixType SparseMatrixType
 
typedef TSparseSpaceType::VectorType VectorType
 
typedef TDenseSpaceType::MatrixType DenseMatrixType
 
- Public Types inherited from Kratos::Preconditioner< TSparseSpaceType, TDenseSpaceType >
typedef TSparseSpaceType::MatrixType SparseMatrixType
 
typedef TSparseSpaceType::VectorType VectorType
 
typedef TDenseSpaceType::MatrixType DenseMatrixType
 
- Protected Attributes inherited from Kratos::ILUPreconditioner< TSparseSpaceType, TDenseSpaceType >
unsigned int mILUSize
 
intiL
 
intjL
 
intiU
 
intjU
 
doubleL
 
doubleU
 

Detailed Description

template<class TSparseSpaceType, class TDenseSpaceType>
class Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >

ILU0Preconditioner class.

Member Typedef Documentation

◆ BaseType

template<class TSparseSpaceType , class TDenseSpaceType >
typedef ILUPreconditioner<TSparseSpaceType, TDenseSpaceType> Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::BaseType

◆ DenseMatrixType

template<class TSparseSpaceType , class TDenseSpaceType >
typedef TDenseSpaceType::MatrixType Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::DenseMatrixType

◆ SparseMatrixType

template<class TSparseSpaceType , class TDenseSpaceType >
typedef TSparseSpaceType::MatrixType Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::SparseMatrixType

◆ VectorType

template<class TSparseSpaceType , class TDenseSpaceType >
typedef TSparseSpaceType::VectorType Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::VectorType

Constructor & Destructor Documentation

◆ ILU0Preconditioner()

template<class TSparseSpaceType , class TDenseSpaceType >
Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::ILU0Preconditioner ( )
inline

Default constructor.

◆ ~ILU0Preconditioner()

template<class TSparseSpaceType , class TDenseSpaceType >
Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::~ILU0Preconditioner ( )
inlineoverride

Copy constructor.

Destructor.

Member Function Documentation

◆ Info()

template<class TSparseSpaceType , class TDenseSpaceType >
std::string Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::Info ( ) const
inlineoverridevirtual

Return information about this object.

Reimplemented from Kratos::Preconditioner< TSparseSpaceType, TDenseSpaceType >.

◆ Initialize()

template<class TSparseSpaceType , class TDenseSpaceType >
void Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::Initialize ( SparseMatrixType rA,
VectorType rX,
VectorType rB 
)
inlineoverridevirtual

ILU0Preconditioner Initialize Initialize preconditioner for linear system rA*rX=rB

Parameters
rAsystem matrix.
rXUnknows vector
rBRight side linear system of equations.

Reimplemented from Kratos::Preconditioner< TSparseSpaceType, TDenseSpaceType >.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<class TSparseSpaceType , class TDenseSpaceType >
Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::KRATOS_CLASS_POINTER_DEFINITION ( ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >  )

Counted pointer of ILU0Preconditioner.

◆ PrintData()

template<class TSparseSpaceType , class TDenseSpaceType >
void Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::Preconditioner< TSparseSpaceType, TDenseSpaceType >.

◆ PrintInfo()

template<class TSparseSpaceType , class TDenseSpaceType >
void Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::PrintInfo ( std::ostream &  OStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::Preconditioner< TSparseSpaceType, TDenseSpaceType >.


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