|
|
| BossakRelaxationScalarScheme (const double AlphaBossak, const double RelaxationFactor, const Variable< double > &rScalarVariable) |
| Constructor. More...
|
|
| ~BossakRelaxationScalarScheme () override=default |
| Destructor. More...
|
|
|
void | InitializeSolutionStep (ModelPart &rModelPart, SystemMatrixType &rA, SystemVectorType &rDx, SystemVectorType &rb) override |
|
void | Update (ModelPart &rModelPart, DofsArrayType &rDofSet, SystemMatrixType &rA, SystemVectorType &rDx, SystemVectorType &rb) override |
|
int | Check (ModelPart &rModelPart) override |
|
void | CalculateSystemContributions (Element &rElement, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) override |
|
void | CalculateRHSContribution (Element &rElement, LocalSystemVectorType &rRHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) override |
|
void | CalculateSystemContributions (Condition &rCondition, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, Condition::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) override |
|
void | CalculateRHSContribution (Condition &rCondition, LocalSystemVectorType &rRHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) override |
|
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
| SteadyScalarScheme (const double RelaxationFactor) |
|
| ~SteadyScalarScheme () override=default |
|
void | Update (ModelPart &rModelPart, DofsArrayType &rDofSet, TSystemMatrixType &rA, TSystemVectorType &rDx, TSystemVectorType &rb) override |
| Performing the update of the solution. More...
|
|
void | Clear () override |
| Liberate internal storage. More...
|
|
void | CalculateSystemContributions (Element &rElement, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) override |
| This function is designed to be called in the builder and solver to introduce the selected time integration scheme. More...
|
|
void | CalculateSystemContributions (Condition &rCondition, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, Condition::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) override |
| Functions totally analogous to the precedent but applied to the "condition" objects. More...
|
|
void | CalculateRHSContribution (Element &rElement, LocalSystemVectorType &rRHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) override |
| This function is designed to calculate just the RHS contribution. More...
|
|
void | CalculateRHSContribution (Condition &rCondition, LocalSystemVectorType &rRHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) override |
| Functions totally analogous to the precedent but applied to the "condition" objects. More...
|
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (SteadyScalarScheme) |
|
| Scheme () |
| Default Constructor. More...
|
|
| Scheme (Parameters ThisParameters) |
| Constructor with Parameters. More...
|
|
| Scheme (Scheme &rOther) |
|
virtual | ~Scheme () |
|
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...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (Scheme) |
| Pointer definition of Scheme. More...
|
|
virtual ClassType::Pointer | Create (Parameters ThisParameters) const |
| Create method. More...
|
|
virtual Pointer | Clone () |
| Clone method. More...
|
|
virtual void | Initialize (ModelPart &rModelPart) |
| This is the place to initialize the Scheme. More...
|
|
bool | SchemeIsInitialized () |
| This method returns if the scheme is initialized. More...
|
|
void | SetSchemeIsInitialized (bool SchemeIsInitializedFlag=true) |
| This method sets if the elements have been initialized or not (true by default) More...
|
|
bool | ElementsAreInitialized () |
| This method returns if the elements are initialized. More...
|
|
void | SetElementsAreInitialized (bool ElementsAreInitializedFlag=true) |
| This method sets if the elements have been initialized or not (true by default) More...
|
|
bool | ConditionsAreInitialized () |
| This method returns if the conditions are initialized. More...
|
|
void | SetConditionsAreInitialized (bool ConditionsAreInitializedFlag=true) |
| This method sets if the conditions have been initialized or not (true by default) More...
|
|
virtual void | InitializeElements (ModelPart &rModelPart) |
| This is the place to initialize the elements. More...
|
|
virtual void | InitializeConditions (ModelPart &rModelPart) |
| This is the place to initialize the conditions. More...
|
|
virtual void | InitializeSolutionStep (ModelPart &rModelPart, TSystemMatrixType &A, TSystemVectorType &Dx, TSystemVectorType &b) |
| Function called once at the beginning of each solution step. More...
|
|
virtual void | FinalizeSolutionStep (ModelPart &rModelPart, TSystemMatrixType &A, TSystemVectorType &Dx, TSystemVectorType &b) |
| Function called once at the end of a solution step, after convergence is reached if an iterative process is needed. More...
|
|
virtual void | InitializeNonLinIteration (ModelPart &rModelPart, TSystemMatrixType &A, TSystemVectorType &Dx, TSystemVectorType &b) |
| unction to be called when it is needed to initialize an iteration. It is designed to be called at the beginning of each non linear iteration More...
|
|
virtual void | FinalizeNonLinIteration (ModelPart &rModelPart, TSystemMatrixType &A, TSystemVectorType &Dx, TSystemVectorType &b) |
| Function to be called when it is needed to finalize an iteration. It is designed to be called at the end of each non linear iteration. More...
|
|
virtual void | Predict (ModelPart &rModelPart, DofsArrayType &rDofSet, TSystemMatrixType &A, TSystemVectorType &Dx, TSystemVectorType &b) |
| Performing the prediction of the solution. More...
|
|
virtual void | CalculateOutputData (ModelPart &rModelPart, DofsArrayType &rDofSet, TSystemMatrixType &A, TSystemVectorType &Dx, TSystemVectorType &b) |
| Functions to be called to prepare the data needed for the output of results. More...
|
|
virtual void | CleanOutputData () |
| Functions that cleans the results data. More...
|
|
virtual void | Clean () |
| This function is intended to be called at the end of the solution step to clean up memory storage not needed after the end of the solution step. More...
|
|
virtual int | Check (const ModelPart &rModelPart) const |
| 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 void | CalculateLHSContribution (Element &rElement, LocalSystemMatrixType &LHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) |
| This function is designed to calculate just the LHS contribution. More...
|
|
virtual void | CalculateLHSContribution (Condition &rCondition, LocalSystemMatrixType &LHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) |
| Functions totally analogous to the precedent but applied to the "condition" objects. More...
|
|
virtual void | EquationId (const Element &rElement, Element::EquationIdVectorType &rEquationId, const ProcessInfo &rCurrentProcessInfo) |
| This method gets the eqaution id corresponding to the current element. More...
|
|
virtual void | EquationId (const Condition &rCondition, Element::EquationIdVectorType &rEquationId, const ProcessInfo &rCurrentProcessInfo) |
| Functions totally analogous to the precedent but applied to the "condition" objects. More...
|
|
virtual void | GetDofList (const Element &rElement, Element::DofsVectorType &rDofList, const ProcessInfo &rCurrentProcessInfo) |
| Function that returns the list of Degrees of freedom to be assembled in the system for a Given element. More...
|
|
virtual void | GetDofList (const Condition &rCondition, Element::DofsVectorType &rDofList, const ProcessInfo &rCurrentProcessInfo) |
| Function that returns the list of Degrees of freedom to be assembled in the system for a Given condition. More...
|
|
virtual Parameters | GetDefaultParameters () const |
| This method provides the defaults parameters to avoid conflicts between the different constructors. More...
|
|
template<class TSparseSpace, class TDenseSpace>
class Kratos::BossakRelaxationScalarScheme< TSparseSpace, TDenseSpace >
A scheme for steady and dynamic equations, using Bossak time integration.
It can be used for either first- or second-order time derivatives. Elements and conditions must provide a specialization of SchemeExtension via their data value container, which allows the scheme to operate independently of the variable arrangements in the element or condition.