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.
|
Base class for all reorderer objects in Kratos used in linear solvers. More...
#include <reorderer.h>
Public Member Functions | |
Life Cycle | |
Reorderer () | |
Default constructor. More... | |
Reorderer (Reorderer const &rOther) | |
Copy constructor. More... | |
virtual | ~Reorderer () |
Destructor. More... | |
Operators | |
Reorderer & | operator= (Reorderer const &rOther) |
Assignment operator. More... | |
Operations | |
virtual void | Initialize (SparseMatrixType &rA, VectorType &rX, VectorType &rB) |
virtual void | Reorder (SparseMatrixType &rA, VectorType &rX, VectorType &rB) |
virtual void | InverseReorder (SparseMatrixType &rA, VectorType &rX, VectorType &rB) |
virtual IndexVectorType & | CalculateIndexPermutation (SparseMatrixType &rA, IndexType InitialIndex=IndexType()) |
Access | |
virtual IndexVectorType & | GetIndexPermutation () |
Input and output | |
virtual std::string | Info () const |
Turn back information as a string. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
Type Definitions | |
typedef TSparseSpaceType::MatrixType | SparseMatrixType |
typedef TSparseSpaceType::VectorType | VectorType |
typedef TDenseSpaceType::MatrixType | DenseMatrixType |
typedef unsigned int | IndexType |
typedef unsigned int | SizeType |
typedef std::vector< IndexType > | IndexVectorType |
KRATOS_CLASS_POINTER_DEFINITION (Reorderer) | |
Pointer definition of Reorderer. More... | |
Base class for all reorderer objects in Kratos used in linear solvers.
Reorderer is the base class for all reorderer objects in Kratos used in linear solvers. two template parameter:
typedef TDenseSpaceType::MatrixType Kratos::Reorderer< TSparseSpaceType, TDenseSpaceType >::DenseMatrixType |
typedef unsigned int Kratos::Reorderer< TSparseSpaceType, TDenseSpaceType >::IndexType |
typedef std::vector<IndexType> Kratos::Reorderer< TSparseSpaceType, TDenseSpaceType >::IndexVectorType |
typedef unsigned int Kratos::Reorderer< TSparseSpaceType, TDenseSpaceType >::SizeType |
typedef TSparseSpaceType::MatrixType Kratos::Reorderer< TSparseSpaceType, TDenseSpaceType >::SparseMatrixType |
typedef TSparseSpaceType::VectorType Kratos::Reorderer< TSparseSpaceType, TDenseSpaceType >::VectorType |
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Turn back information as a string.
|
inlinevirtual |
|
inlinevirtual |
Kratos::Reorderer< TSparseSpaceType, TDenseSpaceType >::KRATOS_CLASS_POINTER_DEFINITION | ( | Reorderer< TSparseSpaceType, TDenseSpaceType > | ) |
Pointer definition of Reorderer.
|
inline |
Assignment operator.
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.
|
inlinevirtual |