11 #if !defined(KRATOS_AITKEN_CONVERGENCE_ACCELERATOR)
12 #define KRATOS_AITKEN_CONVERGENCE_ACCELERATOR
48 template<
class TSparseSpace,
class TDenseSpace>
76 "solver_type" : "Relaxation",
77 "acceleration_type" : "Aitken",
79 "interface_block_newton" : false
Aitken convergence accelerator Aitken formula-based.
Definition: aitken_convergence_accelerator.hpp:50
AitkenConvergenceAccelerator(const AitkenConvergenceAccelerator &rOther)
Definition: aitken_convergence_accelerator.hpp:97
virtual ~AitkenConvergenceAccelerator()
Definition: aitken_convergence_accelerator.hpp:114
BaseType::VectorType VectorType
Definition: aitken_convergence_accelerator.hpp:61
double mOmega_1
Definition: aitken_convergence_accelerator.hpp:216
VectorPointerType mpResidualVector_0
Definition: aitken_convergence_accelerator.hpp:218
AitkenConvergenceAccelerator(Parameters rConvAcceleratorParameters)
Definition: aitken_convergence_accelerator.hpp:72
void FinalizeNonLinearIteration() override
Definition: aitken_convergence_accelerator.hpp:175
VectorPointerType mpResidualVector_1
Definition: aitken_convergence_accelerator.hpp:219
BaseType::VectorPointerType VectorPointerType
Definition: aitken_convergence_accelerator.hpp:62
void InitializeSolutionStep() override
Definition: aitken_convergence_accelerator.hpp:128
ConvergenceAccelerator< TSparseSpace, TDenseSpace > BaseType
Definition: aitken_convergence_accelerator.hpp:57
KRATOS_CLASS_POINTER_DEFINITION(AitkenConvergenceAccelerator)
void UpdateSolution(const VectorType &rResidualVector, VectorType &rIterationGuess) override
Definition: aitken_convergence_accelerator.hpp:143
virtual BaseTypePointer Clone()
Definition: aitken_convergence_accelerator.hpp:105
unsigned int mConvergenceAcceleratorIteration
Definition: aitken_convergence_accelerator.hpp:213
AitkenConvergenceAccelerator(double rOmegaInitial=0.825)
Definition: aitken_convergence_accelerator.hpp:89
BaseType::Pointer BaseTypePointer
Definition: aitken_convergence_accelerator.hpp:59
double mOmega_0
Definition: aitken_convergence_accelerator.hpp:215
Base class for convergence accelerators This class is intended to be the base of any convergence acce...
Definition: convergence_accelerator.h:43
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
double GetDouble() const
This method returns the double contained in the current Parameter.
Definition: kratos_parameters.cpp:657
void ValidateAndAssignDefaults(const Parameters &rDefaultParameters)
This function is designed to verify that the parameters under testing match the form prescribed by th...
Definition: kratos_parameters.cpp:1306
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
TSparseSpace::VectorType VectorType
Definition: convergence_accelerator.h:50
TSparseSpace::VectorPointerType VectorPointerType
Definition: convergence_accelerator.h:53
double Dot(SparseSpaceType &dummy, SparseSpaceType::VectorType &rX, SparseSpaceType::VectorType &rY)
Definition: add_strategies_to_python.cpp:85
void UnaliasedAdd(TSpaceType &dummy, typename TSpaceType::VectorType &x, const double A, const typename TSpaceType::VectorType &rY)
Definition: add_strategies_to_python.cpp:170
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21