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.
|
This is the base class to define the different convergence criterion considered. More...
#include <convergence_criteria.h>
Public Member Functions | |
Life Cycle | |
ConvergenceCriteria () | |
ConvergenceCriteria (Kratos::Parameters ThisParameters) | |
Constructor with Parameters. More... | |
ConvergenceCriteria (ConvergenceCriteria const &rOther) | |
virtual | ~ConvergenceCriteria () |
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... | |
Protected Member Functions | |
Protected Operations | |
virtual Parameters | ValidateAndAssignParameters (Parameters ThisParameters, const Parameters DefaultParameters) const |
This method validate and assign default parameters. More... | |
virtual void | AssignSettings (const Parameters ThisParameters) |
This method assigns settings to member variables. More... | |
Protected Attributes | |
Protected member Variables | |
bool | mActualizeRHSIsNeeded = false |
bool | mConvergenceCriteriaIsInitialized = false |
This "flag" is set in order to know if it is necessary to actualize the RHS. More... | |
int | mEchoLevel |
This "flag" is set in order to know if it is convergence criteria is initialized. More... | |
Type Definitions | |
typedef ConvergenceCriteria< TSparseSpace, TDenseSpace > | ClassType |
The definition of the current class. More... | |
typedef TSparseSpace::DataType | TDataType |
Data type definition. More... | |
typedef TSparseSpace::MatrixType | TSystemMatrixType |
Matrix type definition. More... | |
typedef TSparseSpace::VectorType | TSystemVectorType |
Vector type definition. More... | |
typedef TDenseSpace::MatrixType | LocalSystemMatrixType |
Local system matrix type definition. More... | |
typedef TDenseSpace::VectorType | LocalSystemVectorType |
Local system vector type definition. More... | |
typedef ModelPart::DofsArrayType | DofsArrayType |
DoF array type definition. More... | |
KRATOS_CLASS_POINTER_DEFINITION (ConvergenceCriteria) | |
Pointer definition of ConvergenceCriteria. More... | |
Operations | |
virtual ClassType::Pointer | Create (Parameters ThisParameters) const |
Create method. More... | |
virtual std::vector< TSystemVectorType > & | GetRHS_Element_Components () |
Get component wise element components. More... | |
virtual std::vector< Variable< LocalSystemVectorType > > & | GetRHS_Element_Variables () |
Get component wise element variables. More... | |
virtual std::vector< TSystemVectorType > & | GetRHS_Condition_Components () |
Get component wise condition components. More... | |
virtual std::vector< Variable< LocalSystemVectorType > > & | GetRHS_Condition_Variables () |
Get component wise condition variables. More... | |
virtual void | SetEchoLevel (int Level) |
It sets the level of echo for the solving strategy. More... | |
int | GetEchoLevel () |
This returns the level of echo for the solving strategy. More... | |
void | SetActualizeRHSFlag (bool ActualizeRHSIsNeeded) |
This method sets the flag mActualizeRHSIsNeeded. More... | |
bool | GetActualizeRHSflag () |
This method gets the flag mActualizeRHSIsNeeded. More... | |
virtual bool | PreCriteria (ModelPart &rModelPart, DofsArrayType &rDofSet, const TSystemMatrixType &rA, const TSystemVectorType &rDx, const TSystemVectorType &rb) |
Criterias that need to be called before getting the solution. More... | |
virtual bool | PostCriteria (ModelPart &rModelPart, DofsArrayType &rDofSet, const TSystemMatrixType &rA, const TSystemVectorType &rDx, const TSystemVectorType &rb) |
Criterias that need to be called after getting the solution. More... | |
virtual void | Initialize (ModelPart &rModelPart) |
This function initialize the convergence criteria. More... | |
virtual bool | IsInitialized () |
This function returns if the convergence criteria is initialized. More... | |
virtual void | InitializeSolutionStep (ModelPart &rModelPart, DofsArrayType &rDofSet, const TSystemMatrixType &rA, const TSystemVectorType &rDx, const TSystemVectorType &rb) |
This function initializes the solution step. More... | |
virtual void | InitializeNonLinearIteration (ModelPart &rModelPart, DofsArrayType &rDofSet, const TSystemMatrixType &rA, const TSystemVectorType &rDx, const TSystemVectorType &rb) |
This function initializes the non-linear iteration. More... | |
virtual void | FinalizeSolutionStep (ModelPart &rModelPart, DofsArrayType &rDofSet, const TSystemMatrixType &rA, const TSystemVectorType &rDx, const TSystemVectorType &rb) |
This function finalizes the solution step. More... | |
virtual void | FinalizeNonLinearIteration (ModelPart &rModelPart, DofsArrayType &rDofSet, const TSystemMatrixType &rA, const TSystemVectorType &rDx, const TSystemVectorType &rb) |
This function finalizes the non-linear iteration. More... | |
virtual int | Check (ModelPart &rModelPart) |
This function is designed to be called once to perform all the checks needed on the input provided. Checks can be "expensive" as the function is designed to catch user's errors. More... | |
virtual Parameters | GetDefaultParameters () const |
This method provides the defaults parameters to avoid conflicts between the different constructors. More... | |
static std::string | Name () |
Returns the name of the class as used in the settings (snake_case format) More... | |
This is the base class to define the different convergence criterion considered.
TSparseSpace | The sparse space considered |
TDenseSpace | The dense space considered |
typedef ConvergenceCriteria< TSparseSpace, TDenseSpace > Kratos::ConvergenceCriteria< TSparseSpace, TDenseSpace >::ClassType |
The definition of the current class.
typedef ModelPart::DofsArrayType Kratos::ConvergenceCriteria< TSparseSpace, TDenseSpace >::DofsArrayType |
DoF array type definition.
typedef TDenseSpace::MatrixType Kratos::ConvergenceCriteria< TSparseSpace, TDenseSpace >::LocalSystemMatrixType |
Local system matrix type definition.
typedef TDenseSpace::VectorType Kratos::ConvergenceCriteria< TSparseSpace, TDenseSpace >::LocalSystemVectorType |
Local system vector type definition.
typedef TSparseSpace::DataType Kratos::ConvergenceCriteria< TSparseSpace, TDenseSpace >::TDataType |
Data type definition.
typedef TSparseSpace::MatrixType Kratos::ConvergenceCriteria< TSparseSpace, TDenseSpace >::TSystemMatrixType |
Matrix type definition.
typedef TSparseSpace::VectorType Kratos::ConvergenceCriteria< TSparseSpace, TDenseSpace >::TSystemVectorType |
Vector type definition.
|
inlineexplicit |
Constructor.
|
inlineexplicit |
Constructor with Parameters.
ThisParameters | The configuration parameters |
|
inlineexplicit |
Copy constructor.
|
inlinevirtual |
Destructor.
|
inlineprotectedvirtual |
This method assigns settings to member variables.
ThisParameters | Parameters that are assigned to the member variables |
Reimplemented in Kratos::ResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosDisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MPCContactCriteria< TSparseSpace, TDenseSpace >, Kratos::MortarAndConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MeshTyingMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementContactCriteria< TSparseSpace, TDenseSpace >, Kratos::ContactErrorMeshCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessComponentsMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, and Kratos::ALMFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
This function is designed to be called once to perform all the checks needed on the input provided. Checks can be "expensive" as the function is designed to catch user's errors.
rModelPart | Reference to the ModelPart containing the problem. |
Reimplemented in Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, and Kratos::And_Criteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
Create method.
ThisParameters | The configuration parameters |
Reimplemented in Kratos::ResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, Kratos::MixedGenericCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::And_Criteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosDisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MPCContactCriteria< TSparseSpace, TDenseSpace >, Kratos::MortarAndConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MeshTyingMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementContactCriteria< TSparseSpace, TDenseSpace >, Kratos::ContactErrorMeshCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessComponentsMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, and Kratos::ALMFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
This function finalizes the non-linear iteration.
rModelPart | Reference to the ModelPart containing the problem. |
rDofSet | Reference to the container of the problem's degrees of freedom (stored by the BuilderAndSolver) |
rA | System matrix (unused) |
rDx | Vector of results (variations on nodal variables) |
rb | RHS vector (residual + reactions) |
Reimplemented in Kratos::DisplacementLagrangeMultiplierResidualFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, and Kratos::And_Criteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
This function finalizes the solution step.
rModelPart | Reference to the ModelPart containing the problem. |
rDofSet | Reference to the container of the problem's degrees of freedom (stored by the BuilderAndSolver) |
rA | System matrix (unused) |
rDx | Vector of results (variations on nodal variables) |
rb | RHS vector (residual + reactions) |
Reimplemented in Kratos::ResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::FemDemResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::MortarAndConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, and Kratos::And_Criteria< TSparseSpace, TDenseSpace >.
|
inline |
This method gets the flag mActualizeRHSIsNeeded.
|
inlinevirtual |
This method provides the defaults parameters to avoid conflicts between the different constructors.
Reimplemented in Kratos::ResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::And_Criteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosDisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MPCContactCriteria< TSparseSpace, TDenseSpace >, Kratos::MortarAndConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MeshTyingMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementContactCriteria< TSparseSpace, TDenseSpace >, Kratos::ContactErrorMeshCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessComponentsMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, and Kratos::ALMFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >.
|
inline |
This returns the level of echo for the solving strategy.
The different levels of echo are:
|
inlinevirtual |
Get component wise condition components.
|
inlinevirtual |
Get component wise condition variables.
|
inlinevirtual |
Get component wise element components.
|
inlinevirtual |
Get component wise element variables.
|
inlinevirtual |
Turn back information as a string.
Reimplemented in Kratos::ResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, Kratos::MixedGenericCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::And_Criteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosDisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::FemDemResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MPCContactCriteria< TSparseSpace, TDenseSpace >, Kratos::MortarAndConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MeshTyingMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementContactCriteria< TSparseSpace, TDenseSpace >, Kratos::ContactErrorMeshCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessComponentsMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, and Kratos::ALMFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
This function initialize the convergence criteria.
rModelPart | Reference to the ModelPart containing the problem. (unused) |
Reimplemented in Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::And_Criteria< TSparseSpace, TDenseSpace >, Kratos::ResidualDisplacementAndOtherDoFCriteria< TSparseSpace, TDenseSpace >, Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >, Kratos::FemDemResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MPCContactCriteria< TSparseSpace, TDenseSpace >, Kratos::MortarAndConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MeshTyingMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementContactCriteria< TSparseSpace, TDenseSpace >, Kratos::ContactErrorMeshCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessComponentsMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, and Kratos::ALMFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
This function initializes the non-linear iteration.
rModelPart | Reference to the ModelPart containing the problem. |
rDofSet | Reference to the container of the problem's degrees of freedom (stored by the BuilderAndSolver) |
rA | System matrix (unused) |
rDx | Vector of results (variations on nodal variables) |
rb | RHS vector (residual + reactions) |
Reimplemented in Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, and Kratos::And_Criteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
This function initializes the solution step.
rModelPart | Reference to the ModelPart containing the problem. |
rDofSet | Reference to the container of the problem's degrees of freedom (stored by the BuilderAndSolver) |
rA | System matrix (unused) |
rDx | Vector of results (variations on nodal variables) |
rb | RHS vector (residual + reactions) |
Reimplemented in Kratos::ResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::ResidualDisplacementAndOtherDoFCriteria< TSparseSpace, TDenseSpace >, Kratos::FemDemResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::MortarAndConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierContactCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, and Kratos::And_Criteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
This function returns if the convergence criteria is initialized.
Kratos::ConvergenceCriteria< TSparseSpace, TDenseSpace >::KRATOS_CLASS_POINTER_DEFINITION | ( | ConvergenceCriteria< TSparseSpace, TDenseSpace > | ) |
Pointer definition of ConvergenceCriteria.
|
inlinestatic |
Returns the name of the class as used in the settings (snake_case format)
|
inlinevirtual |
Criterias that need to be called after getting the solution.
rModelPart | Reference to the ModelPart containing the problem. |
rDofSet | Reference to the container of the problem's degrees of freedom (stored by the BuilderAndSolver) |
rA | System matrix (unused) |
rDx | Vector of results (variations on nodal variables) |
rb | RHS vector (residual + reactions) |
Reimplemented in Kratos::ResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::ResidualDisplacementAndOtherDoFCriteria< TSparseSpace, TDenseSpace >, Kratos::FemDemResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::MPCContactCriteria< TSparseSpace, TDenseSpace >, Kratos::MortarAndConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementContactCriteria< TSparseSpace, TDenseSpace >, Kratos::ContactErrorMeshCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, Kratos::MixedGenericCriteria< TSparseSpace, TDenseSpace >, Kratos::And_Criteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosMixedGenericCriteria< TSparseSpace, TDenseSpace >, and Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
Criterias that need to be called before getting the solution.
rModelPart | Reference to the ModelPart containing the problem. |
rDofSet | Reference to the container of the problem's degrees of freedom (stored by the BuilderAndSolver) |
rA | System matrix (unused) |
rDx | Vector of results (variations on nodal variables) |
rb | RHS vector (residual) |
Reimplemented in Kratos::MPCContactCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, and Kratos::And_Criteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
Print object's data.
Reimplemented in Kratos::ResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, Kratos::MixedGenericCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::And_Criteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosDisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::FemDemResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MPCContactCriteria< TSparseSpace, TDenseSpace >, Kratos::MortarAndConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MeshTyingMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementContactCriteria< TSparseSpace, TDenseSpace >, Kratos::ContactErrorMeshCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessComponentsMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, and Kratos::ALMFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >.
|
inlinevirtual |
Print information about this object.
Reimplemented in Kratos::ResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, Kratos::MixedGenericCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::And_Criteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::TrilinosDisplacementCriteria< TSparseSpace, TDenseSpace >, Kratos::FemDemResidualCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::PenaltyFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MPCContactCriteria< TSparseSpace, TDenseSpace >, Kratos::MortarAndConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::MeshTyingMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierResidualContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierMixedContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierFrictionalContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementLagrangeMultiplierContactCriteria< TSparseSpace, TDenseSpace >, Kratos::DisplacementContactCriteria< TSparseSpace, TDenseSpace >, Kratos::ContactErrorMeshCriteria< TSparseSpace, TDenseSpace >, Kratos::BaseMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, Kratos::ALMFrictionlessComponentsMortarConvergenceCriteria< TSparseSpace, TDenseSpace >, and Kratos::ALMFrictionalMortarConvergenceCriteria< TSparseSpace, TDenseSpace >.
|
inline |
This method sets the flag mActualizeRHSIsNeeded.
ActualizeRHSIsNeeded | The flag that tells if actualize RHS is needed |
|
inlinevirtual |
It sets the level of echo for the solving strategy.
Level | The level to set |
The different levels of echo are:
Reimplemented in Kratos::Or_Criteria< TSparseSpace, TDenseSpace >, and Kratos::And_Criteria< TSparseSpace, TDenseSpace >.
|
inlineprotectedvirtual |
This method validate and assign default parameters.
rParameters | Parameters to be validated |
DefaultParameters | The default parameters |
|
protected |
|
protected |
This "flag" is set in order to know if it is necessary to actualize the RHS.
|
protected |
This "flag" is set in order to know if it is convergence criteria is initialized.