10 #if !defined(KRATOS_TRANSLATORY_RIGID_BODY_SEGREGATED_V_ELEMENT_H_INCLUDED )
11 #define KRATOS_TRANSLATORY_RIGID_BODY_SEGREGATED_V_ELEMENT_H_INCLUDED
65 enum StepType{VELOCITY_STEP = 0, PRESSURE_STEP = 1};
117 void GetDofList(DofsVectorType& rElementalDofList,
const ProcessInfo& rCurrentProcessInfo)
const override;
122 void EquationIdVector(EquationIdVectorType& rResult,
const ProcessInfo& rCurrentProcessInfo)
const override;
127 void GetValuesVector(
Vector& rValues,
int Step = 0)
const override;
132 void GetFirstDerivativesVector(
Vector& rValues,
int Step = 0)
const override;
137 void GetSecondDerivativesVector(
Vector& rValues,
int Step = 0)
const override;
146 void Initialize(
const ProcessInfo& rCurrentProcessInfo)
override;
156 void InitializeNonLinearIteration(
const ProcessInfo& rCurrentProcessInfo)
override;
161 void FinalizeNonLinearIteration(
const ProcessInfo& rCurrentProcessInfo)
override;
167 void FinalizeSolutionStep(
const ProcessInfo& rCurrentProcessInfo)
override;
188 void CalculateRightHandSide(
VectorType& rRightHandSideVector,
const ProcessInfo& rCurrentProcessInfo)
override;
197 void CalculateLeftHandSide(
MatrixType& rLeftHandSideMatrix,
const ProcessInfo& rCurrentProcessInfo)
override;
207 void CalculateSecondDerivativesContributions(
MatrixType& rLeftHandSideMatrix,
217 void CalculateSecondDerivativesLHS(
MatrixType& rLeftHandSideMatrix,
227 void CalculateSecondDerivativesRHS(
VectorType& rRightHandSideVector,
247 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
261 std::string
Info()
const override
263 std::stringstream buffer;
264 buffer <<
"Rigid Body Element #" << this->Id();
271 rOStream <<
"Rigid Body Element #" << this->Id();
277 GetGeometry().PrintData(rOStream);
304 virtual void SetProcessInformation(
const ProcessInfo& rCurrentProcessInfo);
310 void GetTimeIntegrationParameters(
double& rP0,
double& rP1,
double& rP2,
316 SizeType GetDofsSize()
const override;
321 void UpdateRigidBodyNodes(
const ProcessInfo& rCurrentProcessInfo)
override;
357 virtual void save(
Serializer& rSerializer)
const override;
Definition: beam_math_utilities.hpp:31
std::size_t SizeType
Definition: element.h:94
std::size_t SizeType
Definition: geometry_data.h:173
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
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
Rigid Body Segregated V Element for 3D space dimension.
Definition: translatory_rigid_body_segregated_V_element.hpp:46
Node NodeType
Type for nodes.
Definition: translatory_rigid_body_segregated_V_element.hpp:56
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(TranslatoryRigidBodySegregatedVElement)
Counted pointer of TranslatoryRigidBodySegregatedVElement.
StepType mStepVariable
Definition: translatory_rigid_body_segregated_V_element.hpp:292
PointerVectorSet< NodeType, IndexedObject > NodesContainerType
Type for nodes container.
Definition: translatory_rigid_body_segregated_V_element.hpp:58
Quaternion< double > QuaternionType
Type definition for quaternion.
Definition: translatory_rigid_body_segregated_V_element.hpp:54
BeamMathUtils< double > BeamMathUtilsType
Definition: translatory_rigid_body_segregated_V_element.hpp:52
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: translatory_rigid_body_segregated_V_element.hpp:275
TranslatoryRigidBodySegregatedVElement()
Serializer constructor.
Definition: translatory_rigid_body_segregated_V_element.hpp:72
StepType
Definition: translatory_rigid_body_segregated_V_element.hpp:65
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: translatory_rigid_body_segregated_V_element.hpp:269
std::string Info() const override
Turn back information as a string.
Definition: translatory_rigid_body_segregated_V_element.hpp:261
GeometryData::SizeType SizeType
Type for size.
Definition: translatory_rigid_body_segregated_V_element.hpp:60
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
void InitializeSolutionStep(ConstructionUtility &rThisUtil, std::string ThermalSubModelPartName, std::string MechanicalSubModelPartName, std::string HeatFluxSubModelPartName, std::string HydraulicPressureSubModelPartName, bool thermal_conditions, bool mechanical_conditions, int phase)
Definition: add_custom_utilities_to_python.cpp:45
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307