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.
Classes | List of all members
Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace > Class Template Reference

#include <residual_based_bossak_displacement_rotation_scheme.hpp>

Inheritance diagram for Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >:
Collaboration diagram for Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >:

Classes

struct  GeneralAlphaMethod
 
struct  GeneralMatrices
 
struct  GeneralVectors
 
struct  NewmarkMethod
 

Public Member Functions

Operators
void Update (ModelPart &r_model_part, DofsArrayType &rDofSet, TSystemMatrixType &A, TSystemVectorType &Dx, TSystemVectorType &b)
 
void SlaveNodesUpdate (ModelPart &r_model_part)
 
void Predict (ModelPart &r_model_part, DofsArrayType &rDofSet, TSystemMatrixType &A, TSystemVectorType &Dx, TSystemVectorType &b)
 Performing the prediction of the solution. More...
 
void InitializeElements (ModelPart &rModelPart)
 
void InitializeConditions (ModelPart &rModelPart)
 
void InitializeSolutionStep (ModelPart &r_model_part, TSystemMatrixType &A, TSystemVectorType &Dx, TSystemVectorType &b)
 
void FinalizeSolutionStep (ModelPart &rModelPart, TSystemMatrixType &A, TSystemVectorType &Dx, TSystemVectorType &b)
 
void InitializeNonLinIteration (ModelPart &r_model_part, 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...
 
void InitializeNonLinearIteration (Condition::Pointer rCurrentCondition, ProcessInfo &CurrentProcessInfo)
 
void InitializeNonLinearIteration (Element::Pointer rCurrentElement, ProcessInfo &CurrentProcessInfo)
 
void CalculateSystemContributions (Element::Pointer rCurrentElement, LocalSystemMatrixType &LHS_Contribution, LocalSystemVectorType &RHS_Contribution, Element::EquationIdVectorType &EquationId, ProcessInfo &CurrentProcessInfo)
 
void Calculate_RHS_Contribution (Element::Pointer rCurrentElement, LocalSystemVectorType &RHS_Contribution, Element::EquationIdVectorType &EquationId, ProcessInfo &CurrentProcessInfo)
 
void Condition_CalculateSystemContributions (Condition::Pointer rCurrentCondition, LocalSystemMatrixType &LHS_Contribution, LocalSystemVectorType &RHS_Contribution, Element::EquationIdVectorType &EquationId, ProcessInfo &CurrentProcessInfo)
 
void Condition_Calculate_RHS_Contribution (Condition::Pointer rCurrentCondition, LocalSystemVectorType &RHS_Contribution, Element::EquationIdVectorType &EquationId, ProcessInfo &CurrentProcessInfo)
 
void GetElementalDofList (Element::Pointer rCurrentElement, Element::DofsVectorType &ElementalDofList, ProcessInfo &CurrentProcessInfo)
 
void GetConditionDofList (Condition::Pointer rCurrentCondition, Element::DofsVectorType &ConditionDofList, ProcessInfo &CurrentProcessInfo)
 
virtual int Check (ModelPart &r_model_part)
 
- Public Member Functions inherited from Kratos::Scheme< TSparseSpace, TDenseSpace >
 Scheme ()
 Default Constructor. More...
 
 Scheme (Parameters ThisParameters)
 Constructor with Parameters. More...
 
 Scheme (Scheme &rOther)
 
virtual ~Scheme ()
 
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...
 
 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 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 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 void Clear ()
 Liberate internal storage. 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 CalculateSystemContributions (Element &rElement, LocalSystemMatrixType &LHS_Contribution, LocalSystemVectorType &RHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo)
 This function is designed to be called in the builder and solver to introduce the selected time integration scheme. More...
 
virtual void CalculateSystemContributions (Condition &rCondition, LocalSystemMatrixType &LHS_Contribution, LocalSystemVectorType &RHS_Contribution, Element::EquationIdVectorType &rEquationIdVector, const ProcessInfo &rCurrentProcessInfo)
 Functions totally analogous to the precedent but applied to the "condition" objects. More...
 
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 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...
 

Protected Member Functions

Protected Operators
void PredictStepDisplacement (ModelPart::NodeType &Node, array_1d< double, 3 > &CurrentStepDisplacement, const array_1d< double, 3 > &PreviousVelocity, const array_1d< double, 3 > &PreviousAcceleration, const array_1d< double, 3 > &CurrentAcceleration, const array_1d< double, 3 > &CurrentAngularVelocity)
 
void PredictDisplacement (array_1d< double, 3 > &CurrentDisplacement, const array_1d< double, 3 > &StepDisplacement)
 
void PredictVelocity (ModelPart::NodeType &Node, array_1d< double, 3 > &CurrentVelocity, const array_1d< double, 3 > &StepDisplacement, const array_1d< double, 3 > &CurrentAcceleration, const array_1d< double, 3 > &PreviousAcceleration, const array_1d< double, 3 > &PreviousVelocity)
 
void PredictAcceleration (ModelPart::NodeType &Node, array_1d< double, 3 > &CurrentAcceleration, const array_1d< double, 3 > &StepDisplacement, const array_1d< double, 3 > &PreviousAcceleration, const array_1d< double, 3 > &PreviousVelocity)
 
void PredictStepRotation (ModelPart::NodeType &Node, array_1d< double, 3 > &CurrentStepRotation, const array_1d< double, 3 > &PreviousVelocity, const array_1d< double, 3 > &PreviousAcceleration, const array_1d< double, 3 > &CurrentAcceleration)
 
void PredictRotation (array_1d< double, 3 > &CurrentRotation, const array_1d< double, 3 > &StepRotation)
 
void PredictAngularVelocity (ModelPart::NodeType &Node, array_1d< double, 3 > &CurrentAngularVelocity, const array_1d< double, 3 > &StepRotation, const array_1d< double, 3 > &CurrentAngularAcceleration, const array_1d< double, 3 > &PreviousAngularAcceleration, const array_1d< double, 3 > &PreviousAngularVelocity)
 
void PredictAngularAcceleration (ModelPart::NodeType &Node, array_1d< double, 3 > &CurrentAngularAcceleration, const array_1d< double, 3 > &StepRotation, const array_1d< double, 3 > &PreviousAngularAcceleration, const array_1d< double, 3 > &PreviousAngularVelocity)
 
void UpdateVelocity (ModelPart::NodeType &Node, array_1d< double, 3 > &CurrentVelocity, const array_1d< double, 3 > &DeltaDisplacement, const array_1d< double, 3 > &CurrentAcceleration, const array_1d< double, 3 > &PreviousAcceleration, const array_1d< double, 3 > &PreviousVelocity)
 
void UpdateAcceleration (ModelPart::NodeType &Node, array_1d< double, 3 > &CurrentAcceleration, const array_1d< double, 3 > &DeltaDisplacement, const array_1d< double, 3 > &StepDisplacement, const array_1d< double, 3 > &PreviousAcceleration, const array_1d< double, 3 > &PreviousVelocity)
 
void UpdateAngularVelocity (ModelPart::NodeType &Node, array_1d< double, 3 > &CurrentAngularVelocity, const array_1d< double, 3 > &DeltaRotation, const array_1d< double, 3 > &CurrentAngularAcceleration, const array_1d< double, 3 > &PreviousAngularAcceleration, const array_1d< double, 3 > &PreviousAngularVelocity)
 
void UpdateAngularAcceleration (ModelPart::NodeType &Node, array_1d< double, 3 > &CurrentAngularAcceleration, const array_1d< double, 3 > &DeltaRotation, const array_1d< double, 3 > &StepRotation, const array_1d< double, 3 > &PreviousAngularAcceleration, const array_1d< double, 3 > &PreviousAngularVelocity)
 
void AddDynamicsToLHS (LocalSystemMatrixType &LHS_Contribution, LocalSystemMatrixType &D, LocalSystemMatrixType &M, ProcessInfo &CurrentProcessInfo)
 
void AddDynamicsToRHS (LocalSystemVectorType &RHS_Contribution, LocalSystemVectorType &fd, LocalSystemVectorType &fm, ProcessInfo &CurrentProcessInfo)
 
void AddDynamicsToRHS (Element::Pointer rCurrentElement, LocalSystemVectorType &RHS_Contribution, LocalSystemMatrixType &D, LocalSystemMatrixType &M, ProcessInfo &CurrentProcessInfo)
 
void AddDynamicsToRHS (Condition::Pointer rCurrentCondition, LocalSystemVectorType &RHS_Contribution, LocalSystemMatrixType &D, LocalSystemMatrixType &M, ProcessInfo &CurrentProcessInfo)
 
- Protected Member Functions inherited from Kratos::Scheme< TSparseSpace, TDenseSpace >
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

Friends
GeneralAlphaMethod mAlpha
 
NewmarkMethod mNewmark
 
GeneralMatrices mMatrix
 
GeneralVectors mVector
 
- Protected Attributes inherited from Kratos::Scheme< TSparseSpace, TDenseSpace >
bool mSchemeIsInitialized
 
bool mElementsAreInitialized
 Flag to be used in controlling if the Scheme has been initialized or not. More...
 
bool mConditionsAreInitialized
 Flag taking in account if the elements were initialized correctly or not. More...
 

Type Definitions

typedef Scheme< TSparseSpace, TDenseSpace > BaseType
 
typedef BaseType::TDataType TDataType
 
typedef BaseType::DofsArrayType DofsArrayType
 
typedef Element::DofsVectorType DofsVectorType
 
typedef BaseType::TSystemMatrixType TSystemMatrixType
 
typedef BaseType::TSystemVectorType TSystemVectorType
 
typedef BaseType::LocalSystemVectorType LocalSystemVectorType
 
typedef BaseType::LocalSystemMatrixType LocalSystemMatrixType
 
typedef ModelPart::ElementsContainerType ElementsArrayType
 
typedef ModelPart::ConditionsContainerType ConditionsArrayType
 
typedef BeamMathUtils< doubleBeamMathUtilsType
 
typedef Quaternion< doubleQuaternionType
 
 KRATOS_CLASS_POINTER_DEFINITION (ResidualBasedBossakDisplacementRotationScheme)
 
 ResidualBasedBossakDisplacementRotationScheme (double rDynamic=1, double mAlphaM=0.0)
 
virtual ~ResidualBasedBossakDisplacementRotationScheme ()
 

Additional Inherited Members

- Public Types inherited from Kratos::Scheme< TSparseSpace, TDenseSpace >
using ClassType = Scheme< TSparseSpace, TDenseSpace >
 The definition of the current class. More...
 
using TDataType = typename TSparseSpace::DataType
 Data type definition. More...
 
using TSystemMatrixType = typename TSparseSpace::MatrixType
 Matrix type definition. More...
 
using TSystemVectorType = typename TSparseSpace::VectorType
 Vector type definition. More...
 
using LocalSystemMatrixType = typename TDenseSpace::MatrixType
 Local system matrix type definition. More...
 
using LocalSystemVectorType = typename TDenseSpace::VectorType
 Local system vector type definition. More...
 
using TDofType = Dof< double >
 DoF type definition. More...
 
using DofsArrayType = ModelPart::DofsArrayType
 DoF array type definition. More...
 
using ElementsArrayType = ModelPart::ElementsContainerType
 Elements containers definition. More...
 
using ConditionsArrayType = ModelPart::ConditionsContainerType
 Conditions containers definition. More...
 
- Static Public Member Functions inherited from Kratos::Scheme< TSparseSpace, TDenseSpace >
static std::string Name ()
 Returns the name of the class as used in the settings (snake_case format) More...
 

Member Typedef Documentation

◆ BaseType

template<class TSparseSpace , class TDenseSpace >
typedef Scheme<TSparseSpace,TDenseSpace> Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::BaseType

◆ BeamMathUtilsType

template<class TSparseSpace , class TDenseSpace >
typedef BeamMathUtils<double> Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::BeamMathUtilsType

◆ ConditionsArrayType

template<class TSparseSpace , class TDenseSpace >
typedef ModelPart::ConditionsContainerType Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::ConditionsArrayType

◆ DofsArrayType

template<class TSparseSpace , class TDenseSpace >
typedef BaseType::DofsArrayType Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::DofsArrayType

◆ DofsVectorType

template<class TSparseSpace , class TDenseSpace >
typedef Element::DofsVectorType Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::DofsVectorType

◆ ElementsArrayType

template<class TSparseSpace , class TDenseSpace >
typedef ModelPart::ElementsContainerType Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::ElementsArrayType

◆ LocalSystemMatrixType

template<class TSparseSpace , class TDenseSpace >
typedef BaseType::LocalSystemMatrixType Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::LocalSystemMatrixType

◆ LocalSystemVectorType

template<class TSparseSpace , class TDenseSpace >
typedef BaseType::LocalSystemVectorType Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::LocalSystemVectorType

◆ QuaternionType

template<class TSparseSpace , class TDenseSpace >
typedef Quaternion<double> Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::QuaternionType

◆ TDataType

template<class TSparseSpace , class TDenseSpace >
typedef BaseType::TDataType Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::TDataType

◆ TSystemMatrixType

template<class TSparseSpace , class TDenseSpace >
typedef BaseType::TSystemMatrixType Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::TSystemMatrixType

◆ TSystemVectorType

template<class TSparseSpace , class TDenseSpace >
typedef BaseType::TSystemVectorType Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::TSystemVectorType

Constructor & Destructor Documentation

◆ ResidualBasedBossakDisplacementRotationScheme()

template<class TSparseSpace , class TDenseSpace >
Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::ResidualBasedBossakDisplacementRotationScheme ( double  rDynamic = 1,
double  mAlphaM = 0.0 
)
inline

Constructor. The bossak method

◆ ~ResidualBasedBossakDisplacementRotationScheme()

template<class TSparseSpace , class TDenseSpace >
virtual Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::~ResidualBasedBossakDisplacementRotationScheme ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ AddDynamicsToLHS()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::AddDynamicsToLHS ( LocalSystemMatrixType LHS_Contribution,
LocalSystemMatrixType D,
LocalSystemMatrixType M,
ProcessInfo CurrentProcessInfo 
)
inlineprotected

Atangent = M*c0 + D*c1 + K

◆ AddDynamicsToRHS() [1/3]

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::AddDynamicsToRHS ( Condition::Pointer  rCurrentCondition,
LocalSystemVectorType RHS_Contribution,
LocalSystemMatrixType D,
LocalSystemMatrixType M,
ProcessInfo CurrentProcessInfo 
)
inlineprotected

◆ AddDynamicsToRHS() [2/3]

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::AddDynamicsToRHS ( Element::Pointer  rCurrentElement,
LocalSystemVectorType RHS_Contribution,
LocalSystemMatrixType D,
LocalSystemMatrixType M,
ProcessInfo CurrentProcessInfo 
)
inlineprotected

bdyn = b - M*a - D*v

◆ AddDynamicsToRHS() [3/3]

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::AddDynamicsToRHS ( LocalSystemVectorType RHS_Contribution,
LocalSystemVectorType fd,
LocalSystemVectorType fm,
ProcessInfo CurrentProcessInfo 
)
inlineprotected

bdyn = b - M*a - D*v

◆ Calculate_RHS_Contribution()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::Calculate_RHS_Contribution ( Element::Pointer  rCurrentElement,
LocalSystemVectorType RHS_Contribution,
Element::EquationIdVectorType EquationId,
ProcessInfo CurrentProcessInfo 
)
inline

◆ CalculateSystemContributions()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::CalculateSystemContributions ( Element::Pointer  rCurrentElement,
LocalSystemMatrixType LHS_Contribution,
LocalSystemVectorType RHS_Contribution,
Element::EquationIdVectorType EquationId,
ProcessInfo CurrentProcessInfo 
)
inline

this function is designed to be called in the builder and solver to introduce

◆ Check()

template<class TSparseSpace , class TDenseSpace >
virtual int Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::Check ( ModelPart r_model_part)
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.

Parameters
r_model_part
Returns
0 all ok

Reimplemented from Kratos::Scheme< TSparseSpace, TDenseSpace >.

◆ Condition_Calculate_RHS_Contribution()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::Condition_Calculate_RHS_Contribution ( Condition::Pointer  rCurrentCondition,
LocalSystemVectorType RHS_Contribution,
Element::EquationIdVectorType EquationId,
ProcessInfo CurrentProcessInfo 
)
inline

◆ Condition_CalculateSystemContributions()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::Condition_CalculateSystemContributions ( Condition::Pointer  rCurrentCondition,
LocalSystemMatrixType LHS_Contribution,
LocalSystemVectorType RHS_Contribution,
Element::EquationIdVectorType EquationId,
ProcessInfo CurrentProcessInfo 
)
inline

functions totally analogous to the precedent but applied to the "condition" objects

◆ FinalizeSolutionStep()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::FinalizeSolutionStep ( ModelPart rModelPart,
TSystemMatrixType A,
TSystemVectorType Dx,
TSystemVectorType b 
)
inlinevirtual

function called once at the end of a solution step, after convergence is reached if an iterative process is needed

Reimplemented from Kratos::Scheme< TSparseSpace, TDenseSpace >.

◆ GetConditionDofList()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::GetConditionDofList ( Condition::Pointer  rCurrentCondition,
Element::DofsVectorType ConditionDofList,
ProcessInfo CurrentProcessInfo 
)
inline

Function that returns the list of Degrees of freedom to be assembled in the system for a Given Element

◆ GetElementalDofList()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::GetElementalDofList ( Element::Pointer  rCurrentElement,
Element::DofsVectorType ElementalDofList,
ProcessInfo CurrentProcessInfo 
)
inline

Function that returns the list of Degrees of freedom to be assembled in the system for a Given Element

◆ InitializeConditions()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::InitializeConditions ( ModelPart rModelPart)
inlinevirtual

this is the place to initialize the conditions. This is intended to be called just once when the strategy is initialized

Reimplemented from Kratos::Scheme< TSparseSpace, TDenseSpace >.

◆ InitializeElements()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::InitializeElements ( ModelPart rModelPart)
inlinevirtual

this is the place to initialize the elements. This is intended to be called just once when the strategy is initialized

Reimplemented from Kratos::Scheme< TSparseSpace, TDenseSpace >.

◆ InitializeNonLinearIteration() [1/2]

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::InitializeNonLinearIteration ( Condition::Pointer  rCurrentCondition,
ProcessInfo CurrentProcessInfo 
)
inline

◆ InitializeNonLinearIteration() [2/2]

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::InitializeNonLinearIteration ( Element::Pointer  rCurrentElement,
ProcessInfo CurrentProcessInfo 
)
inline

◆ InitializeNonLinIteration()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::InitializeNonLinIteration ( ModelPart rModelPart,
TSystemMatrixType A,
TSystemVectorType Dx,
TSystemVectorType b 
)
inlinevirtual

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

Note
Take care: the elemental function with the same name is NOT called here.
Warning
Must be defined in derived classes

The function is called in the builder for memory efficiency

Parameters
rModelPartThe model part of the problem to solve
ALHS matrix
DxIncremental update of primary variables
bRHS Vector

Reimplemented from Kratos::Scheme< TSparseSpace, TDenseSpace >.

◆ InitializeSolutionStep()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::InitializeSolutionStep ( ModelPart r_model_part,
TSystemMatrixType A,
TSystemVectorType Dx,
TSystemVectorType b 
)
inlinevirtual

initializes time step solution only for reasons if the time step solution is restarted

Parameters
r_model_part
ALHS matrix
Dxincremental update of primary variables
bRHS Vector

Reimplemented from Kratos::Scheme< TSparseSpace, TDenseSpace >.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<class TSparseSpace , class TDenseSpace >
Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::KRATOS_CLASS_POINTER_DEFINITION ( ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >  )

◆ Predict()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::Predict ( ModelPart rModelPart,
DofsArrayType rDofSet,
TSystemMatrixType A,
TSystemVectorType Dx,
TSystemVectorType b 
)
inlinevirtual

Performing the prediction of the solution.

Warning
Must be defined in derived classes
Parameters
rModelPartThe model part of the problem to solve
ALHS matrix
DxIncremental update of primary variables
bRHS Vector

Reimplemented from Kratos::Scheme< TSparseSpace, TDenseSpace >.

◆ PredictAcceleration()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::PredictAcceleration ( ModelPart::NodeType Node,
array_1d< double, 3 > &  CurrentAcceleration,
const array_1d< double, 3 > &  StepDisplacement,
const array_1d< double, 3 > &  PreviousAcceleration,
const array_1d< double, 3 > &  PreviousVelocity 
)
inlineprotected

◆ PredictAngularAcceleration()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::PredictAngularAcceleration ( ModelPart::NodeType Node,
array_1d< double, 3 > &  CurrentAngularAcceleration,
const array_1d< double, 3 > &  StepRotation,
const array_1d< double, 3 > &  PreviousAngularAcceleration,
const array_1d< double, 3 > &  PreviousAngularVelocity 
)
inlineprotected

◆ PredictAngularVelocity()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::PredictAngularVelocity ( ModelPart::NodeType Node,
array_1d< double, 3 > &  CurrentAngularVelocity,
const array_1d< double, 3 > &  StepRotation,
const array_1d< double, 3 > &  CurrentAngularAcceleration,
const array_1d< double, 3 > &  PreviousAngularAcceleration,
const array_1d< double, 3 > &  PreviousAngularVelocity 
)
inlineprotected

◆ PredictDisplacement()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::PredictDisplacement ( array_1d< double, 3 > &  CurrentDisplacement,
const array_1d< double, 3 > &  StepDisplacement 
)
inlineprotected

◆ PredictRotation()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::PredictRotation ( array_1d< double, 3 > &  CurrentRotation,
const array_1d< double, 3 > &  StepRotation 
)
inlineprotected

◆ PredictStepDisplacement()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::PredictStepDisplacement ( ModelPart::NodeType Node,
array_1d< double, 3 > &  CurrentStepDisplacement,
const array_1d< double, 3 > &  PreviousVelocity,
const array_1d< double, 3 > &  PreviousAcceleration,
const array_1d< double, 3 > &  CurrentAcceleration,
const array_1d< double, 3 > &  CurrentAngularVelocity 
)
inlineprotected

◆ PredictStepRotation()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::PredictStepRotation ( ModelPart::NodeType Node,
array_1d< double, 3 > &  CurrentStepRotation,
const array_1d< double, 3 > &  PreviousVelocity,
const array_1d< double, 3 > &  PreviousAcceleration,
const array_1d< double, 3 > &  CurrentAcceleration 
)
inlineprotected

◆ PredictVelocity()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::PredictVelocity ( ModelPart::NodeType Node,
array_1d< double, 3 > &  CurrentVelocity,
const array_1d< double, 3 > &  StepDisplacement,
const array_1d< double, 3 > &  CurrentAcceleration,
const array_1d< double, 3 > &  PreviousAcceleration,
const array_1d< double, 3 > &  PreviousVelocity 
)
inlineprotected

◆ SlaveNodesUpdate()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::SlaveNodesUpdate ( ModelPart r_model_part)
inline

◆ Update()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::Update ( ModelPart r_model_part,
DofsArrayType rDofSet,
TSystemMatrixType A,
TSystemVectorType Dx,
TSystemVectorType b 
)
inlinevirtual

Performing the update of the solution. incremental update within newton iteration. It updates the state variables at the end of the time step: u_{n+1}^{k+1}= u_{n+1}^{k}+ \Delta u

Parameters
r_model_part
rDofSetset of all primary variables
ALHS matrix
Dxincremental update of primary variables
bRHS Vector

Reimplemented from Kratos::Scheme< TSparseSpace, TDenseSpace >.

◆ UpdateAcceleration()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::UpdateAcceleration ( ModelPart::NodeType Node,
array_1d< double, 3 > &  CurrentAcceleration,
const array_1d< double, 3 > &  DeltaDisplacement,
const array_1d< double, 3 > &  StepDisplacement,
const array_1d< double, 3 > &  PreviousAcceleration,
const array_1d< double, 3 > &  PreviousVelocity 
)
inlineprotected

◆ UpdateAngularAcceleration()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::UpdateAngularAcceleration ( ModelPart::NodeType Node,
array_1d< double, 3 > &  CurrentAngularAcceleration,
const array_1d< double, 3 > &  DeltaRotation,
const array_1d< double, 3 > &  StepRotation,
const array_1d< double, 3 > &  PreviousAngularAcceleration,
const array_1d< double, 3 > &  PreviousAngularVelocity 
)
inlineprotected

◆ UpdateAngularVelocity()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::UpdateAngularVelocity ( ModelPart::NodeType Node,
array_1d< double, 3 > &  CurrentAngularVelocity,
const array_1d< double, 3 > &  DeltaRotation,
const array_1d< double, 3 > &  CurrentAngularAcceleration,
const array_1d< double, 3 > &  PreviousAngularAcceleration,
const array_1d< double, 3 > &  PreviousAngularVelocity 
)
inlineprotected

◆ UpdateVelocity()

template<class TSparseSpace , class TDenseSpace >
void Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::UpdateVelocity ( ModelPart::NodeType Node,
array_1d< double, 3 > &  CurrentVelocity,
const array_1d< double, 3 > &  DeltaDisplacement,
const array_1d< double, 3 > &  CurrentAcceleration,
const array_1d< double, 3 > &  PreviousAcceleration,
const array_1d< double, 3 > &  PreviousVelocity 
)
inlineprotected

Member Data Documentation

◆ mAlpha

template<class TSparseSpace , class TDenseSpace >
GeneralAlphaMethod Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::mAlpha
protected

◆ mMatrix

template<class TSparseSpace , class TDenseSpace >
GeneralMatrices Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::mMatrix
protected

◆ mNewmark

template<class TSparseSpace , class TDenseSpace >
NewmarkMethod Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::mNewmark
protected

◆ mVector

template<class TSparseSpace , class TDenseSpace >
GeneralVectors Kratos::ResidualBasedBossakDisplacementRotationScheme< TSparseSpace, TDenseSpace >::mVector
protected

The documentation for this class was generated from the following file: