10 #if !defined(KRATOS_CONVERGENCE_CRITERION_H_INCLUDED )
11 #define KRATOS_CONVERGENCE_CRITERION_H_INCLUDED
50 template<
class TSparseSpace,
class TDenseSpace>
58 typedef typename TSparseSpace::DataType
DataType;
Convergence Criterion base class.
Definition: convergence_criterion.hpp:52
~ConvergenceCriterion() override
Destructor.
Definition: convergence_criterion.hpp:85
TSparseSpace::DataType DataType
Definition: convergence_criterion.hpp:58
int GetEchoLevel()
Definition: convergence_criterion.hpp:109
virtual void InitializeSolutionStep(ModelPart &rModelPart, DofsArrayType &rDofSet, const SystemMatrixType &rA, const SystemVectorType &rDx, const SystemVectorType &rb)
Definition: convergence_criterion.hpp:136
TSparseSpace::MatrixType SystemMatrixType
Definition: convergence_criterion.hpp:60
virtual bool PreCriteria(ModelPart &rModelPart, DofsArrayType &rDofSet, const SystemMatrixType &rA, const SystemVectorType &rDx, const SystemVectorType &rb)
Definition: convergence_criterion.hpp:116
CriterionLocalFlags LocalFlagType
Definition: convergence_criterion.hpp:57
int mEchoLevel
Definition: convergence_criterion.hpp:194
virtual void SetEchoLevel(int Level)
Definition: convergence_criterion.hpp:104
KRATOS_CLASS_POINTER_DEFINITION(ConvergenceCriterion)
Pointer definition of ConvergenceCriterion.
ModelPart::DofsArrayType DofsArrayType
Definition: convergence_criterion.hpp:59
virtual void FinalizeSolutionStep(ModelPart &rModelPart, DofsArrayType &rDofSet, const SystemMatrixType &rA, const SystemVectorType &rDx, const SystemVectorType &rb)
Definition: convergence_criterion.hpp:144
virtual int Check(ModelPart &rModelPart)
Definition: convergence_criterion.hpp:159
TSparseSpace::VectorType SystemVectorType
Definition: convergence_criterion.hpp:61
TDenseSpace::VectorType LocalSystemVectorType
Definition: convergence_criterion.hpp:63
virtual bool PostCriteria(ModelPart &rModelPart, DofsArrayType &rDofSet, const SystemMatrixType &rA, const SystemVectorType &rDx, const SystemVectorType &rb)
Definition: convergence_criterion.hpp:126
ConvergenceCriterion(ConvergenceCriterion const &rOther)
Copy contructor.
Definition: convergence_criterion.hpp:79
ConvergenceCriterion()
Constructor.
Definition: convergence_criterion.hpp:73
TDenseSpace::MatrixType LocalSystemMatrixType
Definition: convergence_criterion.hpp:62
Solver local flags class definition.
Definition: solution_local_flags.hpp:74
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
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21