5 #if !defined(KRATOS_TAYLOR_SCHEME_H_INCLUDED )
6 #define KRATOS_TAYLOR_SCHEME_H_INCLUDED
43 DEMIntegrationScheme::Pointer cloned_scheme(
new TaylorScheme(*
this));
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 <<
"TaylorScheme";
122 virtual void PrintInfo(std::ostream& rOStream)
const override{
123 rOStream <<
"TaylorScheme";
128 virtual void PrintData(std::ostream& rOStream)
const override{
145 TaylorScheme(TaylorScheme
const& rOther) {
163 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: taylor_scheme.h:23
DEMIntegrationScheme * CloneRaw() const override
Definition: taylor_scheme.h:37
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: taylor_scheme.h:128
KRATOS_CLASS_POINTER_DEFINITION(TaylorScheme)
Pointer definition of TaylorScheme.
TaylorScheme()
Default constructor.
Definition: taylor_scheme.h:32
ModelPart::NodesContainerType NodesArrayType
Definition: taylor_scheme.h:26
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: taylor_scheme.h:122
virtual std::string Info() const override
Turn back information as a string.
Definition: taylor_scheme.h:114
DEMIntegrationScheme::Pointer CloneShared() const override
Definition: taylor_scheme.h:42
virtual ~TaylorScheme()
Destructor.
Definition: taylor_scheme.h:35
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