5 #if !defined(KRATOS_HYBRID_BASHFORTH_SCHEME_H_INCLUDED )
6 #define KRATOS_HYBRID_BASHFORTH_SCHEME_H_INCLUDED
33 mOldVelocity[0] = 0.0;
34 mOldVelocity[1] = 0.0;
35 mOldVelocity[2] = 0.0;
51 void UpdateTranslationalVariables(
60 const double force_reduction_factor,
63 const bool Fix_vel[3])
override;
67 virtual std::string
Info()
const override {
68 std::stringstream buffer;
69 buffer <<
"HybridBashforthScheme";
75 virtual void PrintInfo(std::ostream& rOStream)
const override {
76 rOStream <<
"SymplecticEulerScheme";
81 virtual void PrintData(std::ostream& rOStream)
const override {
98 HybridBashforthScheme(HybridBashforthScheme
const& rOther) {
102 array_1d<double, 3 > mOldVelocity;
116 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: dem_integration_scheme.h:24
Definition: hybrid_bashforth_scheme.h:23
virtual ~HybridBashforthScheme()
Destructor.
Definition: hybrid_bashforth_scheme.h:39
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: hybrid_bashforth_scheme.h:75
DEMIntegrationScheme::Pointer CloneShared() const override
Definition: hybrid_bashforth_scheme.h:46
HybridBashforthScheme()
Default constructor.
Definition: hybrid_bashforth_scheme.h:32
virtual std::string Info() const override
Turn back information as a string.
Definition: hybrid_bashforth_scheme.h:67
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: hybrid_bashforth_scheme.h:81
KRATOS_CLASS_POINTER_DEFINITION(HybridBashforthScheme)
Pointer definition of HybridBashforthScheme.
ModelPart::NodesContainerType NodesArrayType
Definition: hybrid_bashforth_scheme.h:26
DEMIntegrationScheme * CloneRaw() const override
Definition: hybrid_bashforth_scheme.h:41
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: symplectic_euler_scheme.h:23
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