39 template<
class TSparseSpace,
97 :
BaseType(NewRatioTolerance, AlwaysConvergedNorm)
127 typename BaseConvergenceCriteriaType::Pointer
Create(
Parameters ThisParameters)
const override
129 return Kratos::make_shared<ClassType>(ThisParameters);
138 return "trilinos_displacement_criteria";
149 "name" : "trilinos_displacement_criteria",
150 "displacement_relative_tolerance" : 1.0e-4,
151 "displacement_absolute_tolerance" : 1.0e-9
157 return default_parameters;
173 std::string
Info()
const override
175 return "TrilinosDisplacementCriteria";
This is the base class to define the different convergence criterion considered.
Definition: convergence_criteria.h:58
virtual Parameters ValidateAndAssignParameters(Parameters ThisParameters, const Parameters DefaultParameters) const
This method validate and assign default parameters.
Definition: convergence_criteria.h:466
TSparseSpace::DataType TDataType
Data type definition.
Definition: convergence_criteria.h:70
This is a convergence criteria that considers the increment on the solution as criteria.
Definition: displacement_criteria.h:59
Parameters GetDefaultParameters() const override
This method provides the defaults parameters to avoid conflicts between the different constructors.
Definition: displacement_criteria.h:289
void AssignSettings(const Parameters ThisParameters) override
This method assigns settings to member variables.
Definition: displacement_criteria.h:365
typename Node::DofType DofType
The definition of the DoF data type.
Definition: displacement_criteria.h:83
typename BaseType::TDataType TDataType
The data type.
Definition: displacement_criteria.h:77
Dof< double > DofType
Dof type.
Definition: node.h:83
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
void RecursivelyAddMissingParameters(const Parameters &rDefaultParameters)
This function is designed to verify that the parameters under testing contain at least all parameters...
Definition: kratos_parameters.cpp:1457
MPI version of the DisplacementCriteria.
Definition: trilinos_displacement_criteria.h:44
TrilinosDisplacementCriteria(TDataType NewRatioTolerance, TDataType AlwaysConvergedNorm)
Constructor 2 arguments.
Definition: trilinos_displacement_criteria.h:94
TrilinosDisplacementCriteria(Kratos::Parameters ThisParameters)
Default constructor. (with parameters)
Definition: trilinos_displacement_criteria.h:81
Parameters GetDefaultParameters() const override
This method provides the defaults parameters to avoid conflicts between the different constructors.
Definition: trilinos_displacement_criteria.h:145
TrilinosDisplacementCriteria(TrilinosDisplacementCriteria const &rOther)
Copy constructor.
Definition: trilinos_displacement_criteria.h:105
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: trilinos_displacement_criteria.h:179
TrilinosDisplacementCriteria()
Default constructor.
Definition: trilinos_displacement_criteria.h:72
void AssignSettings(const Parameters ThisParameters) override
This method assigns settings to member variables.
Definition: trilinos_displacement_criteria.h:215
std::string Info() const override
Turn back information as a string.
Definition: trilinos_displacement_criteria.h:173
BaseConvergenceCriteriaType::Pointer Create(Parameters ThisParameters) const override
Create method.
Definition: trilinos_displacement_criteria.h:127
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: trilinos_displacement_criteria.h:185
static std::string Name()
Returns the name of the class as used in the settings (snake_case format)
Definition: trilinos_displacement_criteria.h:136
~TrilinosDisplacementCriteria() override
Destructor.
Definition: trilinos_displacement_criteria.h:113
KRATOS_CLASS_POINTER_DEFINITION(TrilinosDisplacementCriteria)
Pointer definition of TrilinosDisplacementCriteria.
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21