5 #if !defined(KRATOS_FORWARD_EULER_SCHEME_H_INCLUDED )
6 #define KRATOS_FORWARD_EULER_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 UpdateRotationalVariables(
97 const bool Fix_Ang_vel[3])
override;
99 void CalculateLocalAngularAcceleration(
100 const double moment_of_inertia,
102 const double moment_reduction_factor,
105 void CalculateLocalAngularAccelerationByEulerEquations(
109 const double moment_reduction_factor,
114 virtual std::string
Info()
const override{
115 std::stringstream buffer;
116 buffer <<
"ForwardEulerScheme";
122 virtual void PrintInfo(std::ostream& rOStream)
const override{
123 rOStream <<
"ForwardEulerScheme";
128 virtual void PrintData(std::ostream& rOStream)
const override{
145 ForwardEulerScheme(ForwardEulerScheme
const& rOther) {
163 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: dem_integration_scheme.h:24
Definition: forward_euler_scheme.h:23
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: forward_euler_scheme.h:128
ModelPart::NodesContainerType NodesArrayType
Definition: forward_euler_scheme.h:26
ForwardEulerScheme()
Default constructor.
Definition: forward_euler_scheme.h:32
DEMIntegrationScheme * CloneRaw() const override
Definition: forward_euler_scheme.h:37
virtual std::string Info() const override
Turn back information as a string.
Definition: forward_euler_scheme.h:114
KRATOS_CLASS_POINTER_DEFINITION(ForwardEulerScheme)
Pointer definition of ForwardEulerScheme.
DEMIntegrationScheme::Pointer CloneShared() const override
Definition: forward_euler_scheme.h:42
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: forward_euler_scheme.h:122
virtual ~ForwardEulerScheme()
Destructor.
Definition: forward_euler_scheme.h:35
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
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