|
|
| ResidualBasedAdjointBossakScheme (Parameters Settings, AdjointResponseFunction::Pointer pResponseFunction) |
| Constructor. More...
|
|
| ~ResidualBasedAdjointBossakScheme () override |
| Destructor. More...
|
|
|
int | Check (const ModelPart &rModelPart) const override |
| 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...
|
|
void | Initialize (ModelPart &rModelPart) override |
| This is the place to initialize the Scheme. More...
|
|
void | InitializeSolutionStep (ModelPart &rModelPart, SystemMatrixType &rA, SystemVectorType &rDx, SystemVectorType &rb) override |
| Function called once at the beginning of each solution step. More...
|
|
void | FinalizeSolutionStep (ModelPart &rModelPart, SystemMatrixType &rA, SystemVectorType &rDx, SystemVectorType &rb) override |
| Function called once at the end of a solution step, after convergence is reached if an iterative process is needed. More...
|
|
void | Update (ModelPart &rModelPart, DofsArrayType &rDofSet, SystemMatrixType &rA, SystemVectorType &rDx, SystemVectorType &rb) override |
| Performing the update of the solution. More...
|
|
void | CalculateSystemContributions (Element &rCurrentElement, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, Element::EquationIdVectorType &rEquationId, 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 | CalculateLHSContribution (Element &rCurrentElement, LocalSystemMatrixType &rLHS_Contribution, Element::EquationIdVectorType &rEquationId, const ProcessInfo &rCurrentProcessInfo) override |
| This function is designed to calculate just the LHS contribution. More...
|
|
void | CalculateSystemContributions (Condition &rCurrentCondition, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, Condition::EquationIdVectorType &rEquationId, const ProcessInfo &rCurrentProcessInfo) override |
| Functions totally analogous to the precedent but applied to the "condition" objects. More...
|
|
void | CalculateLHSContribution (Condition &rCurrentCondition, LocalSystemMatrixType &rLHS_Contribution, Condition::EquationIdVectorType &rEquationId, const ProcessInfo &rCurrentProcessInfo) override |
| Functions totally analogous to the precedent but applied to the "condition" objects. More...
|
|
void | Clear () override |
| Liberate internal storage. More...
|
|
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
void | PrintInfo (std::ostream &rOStream) const override |
| Print information about this object. More...
|
|
void | PrintData (std::ostream &rOStream) const override |
| Print object's data. More...
|
|
| Scheme () |
| Default Constructor. More...
|
|
| Scheme (Parameters ThisParameters) |
| Constructor with Parameters. More...
|
|
| Scheme (Scheme &rOther) |
|
virtual | ~Scheme () |
|
| 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...
|
|
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 | 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 (ModelPart &rModelPart) |
|
virtual void | CalculateRHSContribution (Element &rElement, LocalSystemVectorType &RHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo) |
| This function is designed to calculate just the RHS contribution. More...
|
|
virtual void | CalculateRHSContribution (Condition &rCondition, LocalSystemVectorType &RHS_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...
|
|
|
|
virtual void | CalculateGradientContributions (Element &rElement, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, const ProcessInfo &rCurrentProcessInfo) |
|
virtual void | CalculateGradientContributions (Condition &rCondition, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, const ProcessInfo &rCurrentProcessInfo) |
|
virtual void | CalculateFirstDerivativeContributions (Element &rElement, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, const ProcessInfo &rCurrentProcessInfo) |
|
virtual void | CalculateFirstDerivativeContributions (Condition &rCondition, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, const ProcessInfo &rCurrentProcessInfo) |
|
virtual void | CalculateSecondDerivativeContributions (Element &rElement, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, const ProcessInfo &rCurrentProcessInfo) |
|
virtual void | CalculateSecondDerivativeContributions (Condition &rCondition, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, const ProcessInfo &rCurrentProcessInfo) |
|
virtual void | CalculateResidualLocalContributions (Element &rCurrentElement, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, const ProcessInfo &rCurrentProcessInfo) |
| Calculates elemental residual. More...
|
|
virtual void | CalculateResidualLocalContributions (Condition &rCurrentCondition, LocalSystemMatrixType &rLHS_Contribution, LocalSystemVectorType &rRHS_Contribution, const ProcessInfo &rCurrentProcessInfo) |
| Calculates condition residual. More...
|
|
virtual void | CalculateTimeSchemeContributions (Element &rElement, LocalSystemVectorType &rAdjointTimeSchemeValues2, LocalSystemVectorType &rAdjointTimeSchemeValues3, AdjointResponseFunction &rAdjointResponseFunction, const BossakConstants &rBossakConstants, const ProcessInfo &rCurrentProcessInfo) |
| Calculate time scheme contributions from elements. More...
|
|
virtual void | CalculateTimeSchemeContributions (Condition &rCondition, LocalSystemVectorType &rAdjointTimeSchemeValues2, LocalSystemVectorType &rAdjointTimeSchemeValues3, AdjointResponseFunction &rAdjointResponseFunction, const BossakConstants &rBossakConstants, const ProcessInfo &rCurrentProcessInfo) |
| Calculates time scheme contributions from conditions. More...
|
|
virtual void | CalculateAuxiliaryVariableContributions (Element &rElement, LocalSystemVectorType &rAdjointAuxiliaryValues, AdjointResponseFunction &rAdjointResponseFunction, const BossakConstants &rBossakConstants, const ProcessInfo &rCurrentProcessInfo) |
| Calculates auxiliary variable contributions from elements. More...
|
|
virtual void | CalculateAuxiliaryVariableContributions (Condition &rCondition, LocalSystemVectorType &rAdjointAuxiliaryValues, AdjointResponseFunction &rAdjointResponseFunction, const BossakConstants &rBossakConstants, const ProcessInfo &rCurrentProcessInfo) |
| Calculates auxiliary contributions from conditions. More...
|
|
virtual void | CheckAndResizeThreadStorage (unsigned SystemSize) |
|
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...
|
|
template<class TSparseSpace, class TDenseSpace>
class Kratos::ResidualBasedAdjointBossakScheme< TSparseSpace, TDenseSpace >
A scheme for dynamic adjoint 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 AdjointExtensions via their data value container, which allows the scheme to operate independently of the variable arrangements in the element or condition.