10 #if !defined(KRATOS_TRANSLATORY_RIGID_BODY_ELEMENT_H_INCLUDED )
11 #define KRATOS_TRANSLATORY_RIGID_BODY_ELEMENT_H_INCLUDED
128 void GetDofList(DofsVectorType& rElementalDofList,
const ProcessInfo& rCurrentProcessInfo)
const override;
133 void EquationIdVector(EquationIdVectorType& rResult,
const ProcessInfo& rCurrentProcessInfo)
const override;
138 void GetValuesVector(
Vector& rValues,
int Step = 0)
const override;
143 void GetFirstDerivativesVector(
Vector& rValues,
int Step = 0)
const override;
148 void GetSecondDerivativesVector(
Vector& rValues,
int Step = 0)
const override;
157 void Initialize(
const ProcessInfo& rCurrentProcessInfo)
override;
178 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
192 virtual std::string
Info()
const override
194 std::stringstream buffer;
195 buffer <<
"Translatory Rigid Body Element #" << Id();
200 virtual void PrintInfo(std::ostream& rOStream)
const override
202 rOStream <<
"Translatory Rigid Body Element #" << Id();
206 virtual void PrintData(std::ostream& rOStream)
const override
208 GetGeometry().PrintData(rOStream);
237 void InitializeSystemMatrices(
MatrixType& rLeftHandSideMatrix,
239 Flags& rCalculationFlags)
override;
246 void CalculateAndAddInertiaLHS(
MatrixType& rLeftHandSideMatrix,
247 ElementVariables& rVariables)
override;
252 void CalculateAndAddInertiaRHS(
VectorType& rRightHandSideVector,
253 ElementVariables& rVariables)
override;
259 void UpdateRigidBodyNodes(
const ProcessInfo& rCurrentProcessInfo)
override;
264 SizeType GetDofsSize()
const override;
269 void MapLocalToGlobalSystem(LocalSystemComponents& rLocalSystem)
override;
304 void save(
Serializer& rSerializer)
const override;
Definition: beam_math_utilities.hpp:31
Definition: constitutive_law.h:47
StressMeasure
Definition: constitutive_law.h:69
IntegrationMethod
Definition: geometry_data.h:76
This class defines the node.
Definition: node.h:65
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Rigid Body Element for 3D space dimension.
Definition: rigid_body_element.hpp:48
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Rigid Body Element for 3D space dimension.
Definition: translatory_rigid_body_element.hpp:46
TranslatoryRigidBodyElement()
Serializer constructor.
Definition: translatory_rigid_body_element.hpp:82
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: translatory_rigid_body_element.hpp:54
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: translatory_rigid_body_element.hpp:58
Node NodeType
Type for nodes.
Definition: translatory_rigid_body_element.hpp:64
ConstitutiveLawType::StressMeasure StressMeasureType
StressMeasure from constitutive laws.
Definition: translatory_rigid_body_element.hpp:56
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: translatory_rigid_body_element.hpp:206
PointerVectorSet< NodeType, IndexedObject > NodesContainerType
Type for nodes container.
Definition: translatory_rigid_body_element.hpp:66
Quaternion< double > QuaternionType
Type definition for quaternion.
Definition: translatory_rigid_body_element.hpp:62
ConstitutiveLaw ConstitutiveLawType
Reference type definition for constitutive laws.
Definition: translatory_rigid_body_element.hpp:52
BeamMathUtils< double > BeamMathUtilsType
Type definition for beam utilities.
Definition: translatory_rigid_body_element.hpp:60
array_1d< double, 3 > ArrayType
Type of vector.
Definition: translatory_rigid_body_element.hpp:68
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(TranslatoryRigidBodyElement)
Counted pointer of TranslatoryRigidBodyElement.
virtual std::string Info() const override
Turn back information as a string.
Definition: translatory_rigid_body_element.hpp:192
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: translatory_rigid_body_element.hpp:200
std::size_t IndexType
The definition of the index type.
Definition: key_hash.h:35
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::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307