14 #if !defined(KRATOS_PRECONDITIONER_H_INCLUDED )
15 #define KRATOS_PRECONDITIONER_H_INCLUDED
73 template<
class TSparseSpaceType,
class TDenseSpaceType>
130 TDenseSpaceType::GetColumn(0,rX,
x);
131 TDenseSpaceType::GetColumn(0,rB,
b);
266 virtual std::string
Info()
const
268 return "Preconditioner";
274 rOStream <<
"Preconditioner";
378 template<
class TSparseSpaceType,
class TDenseSpaceType>
386 template<
class TSparseSpaceType,
class TDenseSpaceType>
391 OStream << std::endl;
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
Preconditioner class.
Definition: preconditioner.h:75
TSparseSpaceType::VectorType VectorType
Definition: preconditioner.h:85
virtual void FinalizeSolutionStep(SparseMatrixType &rA, VectorType &rX, VectorType &rB)
Definition: preconditioner.h:154
KRATOS_CLASS_POINTER_DEFINITION(Preconditioner)
Pointer definition of Preconditioner.
virtual void Mult(SparseMatrixType &rA, VectorType &rX, VectorType &rY)
Definition: preconditioner.h:192
virtual VectorType & ApplyRight(VectorType &rX)
Definition: preconditioner.h:213
virtual ~Preconditioner()
Destructor.
Definition: preconditioner.h:100
virtual VectorType & ApplyTransposeLeft(VectorType &rX)
Definition: preconditioner.h:222
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: preconditioner.h:278
virtual bool AdditionalPhysicalDataIsNeeded()
Definition: preconditioner.h:172
virtual void Clear()
Definition: preconditioner.h:162
virtual VectorType & Finalize(VectorType &rX)
Definition: preconditioner.h:246
Preconditioner()
Default constructor.
Definition: preconditioner.h:94
TDenseSpaceType::MatrixType DenseMatrixType
Definition: preconditioner.h:87
virtual void Initialize(SparseMatrixType &rA, VectorType &rX, VectorType &rB)
Definition: preconditioner.h:123
virtual VectorType & ApplyLeft(VectorType &rX)
Definition: preconditioner.h:208
virtual std::string Info() const
Turn back information as a string.
Definition: preconditioner.h:266
virtual void TransposeMult(SparseMatrixType &rA, VectorType &rX, VectorType &rY)
Definition: preconditioner.h:200
virtual void ProvideAdditionalData(SparseMatrixType &rA, VectorType &rX, VectorType &rB, typename ModelPart::DofsArrayType &rdof_set, ModelPart &r_model_part)
Definition: preconditioner.h:183
Preconditioner(const Preconditioner &Other)
Copy constructor.
Definition: preconditioner.h:97
TSparseSpaceType::MatrixType SparseMatrixType
Definition: preconditioner.h:83
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: preconditioner.h:272
virtual VectorType & ApplyTransposeRight(VectorType &rX)
Definition: preconditioner.h:230
Preconditioner & operator=(const Preconditioner &Other)
Assignment operator.
Definition: preconditioner.h:108
virtual void Initialize(SparseMatrixType &rA, DenseMatrixType &rX, DenseMatrixType &rB)
Definition: preconditioner.h:125
virtual VectorType & ApplyInverseRight(VectorType &rX)
Definition: preconditioner.h:238
virtual void InitializeSolutionStep(SparseMatrixType &rA, VectorType &rX, VectorType &rB)
Definition: preconditioner.h:144
z
Definition: GenerateWind.py:163
TSpaceType::IndexType Size1(TSpaceType &dummy, typename TSpaceType::MatrixType const &rM)
Definition: add_strategies_to_python.cpp:117
void TransposeMult(SparseSpaceType &dummy, SparseSpaceType::MatrixType &rA, SparseSpaceType::VectorType &rX, SparseSpaceType::VectorType &rY)
Definition: add_strategies_to_python.cpp:104
void Mult(TSpaceType &dummy, typename TSpaceType::MatrixType &rA, typename TSpaceType::VectorType &rX, typename TSpaceType::VectorType &rY)
Definition: add_strategies_to_python.cpp:98
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
b
Definition: generate_total_lagrangian_mixed_volumetric_strain_element.py:31
x
Definition: sensitivityMatrix.py:49