5 #if !defined(KRATOS_QUATERNION_INTEGRATION_SCHEME_H_INCLUDED )
6 #define KRATOS_QUATERNION_INTEGRATION_SCHEME_H_INCLUDED
47 void SetTranslationalIntegrationSchemeInProperties(Properties::Pointer pProp,
bool verbose =
true)
const override;
48 void SetRotationalIntegrationSchemeInProperties(Properties::Pointer pProp,
bool verbose =
true)
const override;
50 void UpdateTranslationalVariables(
59 const double force_reduction_factor,
62 const bool Fix_vel[3])
override;
64 void CalculateNewRotationalVariablesOfSpheres(
67 const double moment_of_inertia,
70 const double moment_reduction_factor,
74 const bool Fix_Ang_vel[3])
override;
76 void CalculateNewRotationalVariablesOfRigidBodyElements(
82 const double moment_reduction_factor,
87 const bool Fix_Ang_vel[3])
override;
89 void UpdateRotatedAngle(
95 void CalculateLocalAngularAcceleration(
96 const double moment_of_inertia,
98 const double moment_reduction_factor,
101 void CalculateLocalAngularAccelerationByEulerEquations(
105 const double moment_reduction_factor,
110 virtual std::string
Info()
const override{
111 std::stringstream buffer;
112 buffer <<
"QuaternionIntegrationScheme";
118 virtual void PrintInfo(std::ostream& rOStream)
const override{
119 rOStream <<
"QuaternionIntegrationScheme";
124 virtual void PrintData(std::ostream& rOStream)
const override{
141 QuaternionIntegrationScheme(QuaternionIntegrationScheme
const& rOther) {
159 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: dem_integration_scheme.h:24
MeshType::NodesContainerType NodesContainerType
Nodes container. Which is a vector set of nodes with their Id's as key.
Definition: model_part.h:128
This class defines the node.
Definition: node.h:65
Definition: quaternion_integration_scheme.h:23
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: quaternion_integration_scheme.h:124
ModelPart::NodesContainerType NodesArrayType
Definition: quaternion_integration_scheme.h:26
virtual ~QuaternionIntegrationScheme()
Destructor.
Definition: quaternion_integration_scheme.h:35
QuaternionIntegrationScheme()
Default constructor.
Definition: quaternion_integration_scheme.h:32
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: quaternion_integration_scheme.h:118
virtual std::string Info() const override
Turn back information as a string.
Definition: quaternion_integration_scheme.h:110
KRATOS_CLASS_POINTER_DEFINITION(QuaternionIntegrationScheme)
Pointer definition of QuaternionIntegrationScheme.
DEMIntegrationScheme * CloneRaw() const override
Definition: quaternion_integration_scheme.h:37
DEMIntegrationScheme::Pointer CloneShared() const override
Definition: quaternion_integration_scheme.h:42
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
vel
Definition: pure_conduction.py:76
float delta_t
Definition: rotatingcone_PureConvectionBenchmarking.py:129
integer i
Definition: TensorModule.f:17