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.
|
ILU0Preconditioner class. More...
#include <ilu0_preconditioner.h>
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... | |
ILUPreconditioner & | operator= (const ILUPreconditioner &Other) |
Assignment operator. More... | |
void | Mult (SparseMatrixType &rA, VectorType &rX, VectorType &rY) override |
void | TransposeMult (SparseMatrixType &rA, VectorType &rX, VectorType &rY) override |
VectorType & | ApplyLeft (VectorType &rX) override |
VectorType & | ApplyTransposeLeft (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... | |
Preconditioner & | operator= (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 VectorType & | ApplyRight (VectorType &rX) |
virtual VectorType & | ApplyTransposeRight (VectorType &rX) |
virtual VectorType & | ApplyInverseRight (VectorType &rX) |
virtual VectorType & | Finalize (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 |
int * | iL |
int * | jL |
int * | iU |
int * | jU |
double * | L |
double * | U |
ILU0Preconditioner class.
typedef ILUPreconditioner<TSparseSpaceType, TDenseSpaceType> Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::BaseType |
typedef TDenseSpaceType::MatrixType Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::DenseMatrixType |
typedef TSparseSpaceType::MatrixType Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::SparseMatrixType |
typedef TSparseSpaceType::VectorType Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::VectorType |
|
inline |
Default constructor.
|
inlineoverride |
Copy constructor.
Destructor.
|
inlineoverridevirtual |
Return information about this object.
Reimplemented from Kratos::Preconditioner< TSparseSpaceType, TDenseSpaceType >.
|
inlineoverridevirtual |
ILU0Preconditioner Initialize Initialize preconditioner for linear system rA*rX=rB
rA | system matrix. |
rX | Unknows vector |
rB | Right side linear system of equations. |
Reimplemented from Kratos::Preconditioner< TSparseSpaceType, TDenseSpaceType >.
Kratos::ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType >::KRATOS_CLASS_POINTER_DEFINITION | ( | ILU0Preconditioner< TSparseSpaceType, TDenseSpaceType > | ) |
Counted pointer of ILU0Preconditioner.
|
inlineoverridevirtual |
Print object's data.
Reimplemented from Kratos::Preconditioner< TSparseSpaceType, TDenseSpaceType >.
|
inlineoverridevirtual |
Print information about this object.
Reimplemented from Kratos::Preconditioner< TSparseSpaceType, TDenseSpaceType >.