3 #if !defined KRATOS_SHIP_ELEMENT_3D_H_INCLUDED
4 #define KRATOS_SHIP_ELEMENT_3D_H_INCLUDED
37 void CustomInitialize(
ModelPart& rigid_body_element_sub_model_part)
override;
39 void ComputeBuoyancyEffects();
40 void ComputeEngineForce();
41 void ComputeWaterDragForce();
58 virtual std::string
Info()
const override
60 std::stringstream buffer;
61 buffer <<
"Discrete Element #" << Id();
66 virtual void PrintInfo(std::ostream& rOStream)
const override
68 rOStream <<
"Discrete Element #" << Id();
72 virtual void PrintData(std::ostream& rOStream)
const override
95 rOStream << std::endl;
std::size_t IndexType
Definition: flags.h:74
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
Definition: rigid_body_element.h:31
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: ship_element.h:22
double mThresholdVelocity
Definition: ship_element.h:48
array_1d< double, 3 > mDragConstantVector
Definition: ship_element.h:56
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: ship_element.h:66
double mEnginePower
Definition: ship_element.h:46
double mMaxEngineForce
Definition: ship_element.h:47
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: ship_element.h:72
double mEnginePerformance
Definition: ship_element.h:49
virtual std::string Info() const override
Turn back information as a string.
Definition: ship_element.h:58
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(ShipElement3D)
Pointer definition of ShipElement3D.
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
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
def load(f)
Definition: ode_solve.py:307