Marine systems simulation
CoRiBoDynamics::Structures::DiscreteCylinderElement Class Reference

#include <SupergridCable.h>

+ Inheritance diagram for CoRiBoDynamics::Structures::DiscreteCylinderElement:
+ Collaboration diagram for CoRiBoDynamics::Structures::DiscreteCylinderElement:

Public Member Functions

 DiscreteCylinderElement (CableSegment *line_segment, double length)
 
virtual void Setup (double T, const double *const X, mat6 &InertiaMatrix, vec6 &Force)
 
virtual void SplitElement (int N)
 
void SetDisplacementArea (double displacement_area)
 
- Public Member Functions inherited from CoRiBoDynamics::Structures::DiscreteElement
 DiscreteElement (LineSegment *line_segment, double length)
 
ModifiableRigidElementGetRigidElement ()
 
const std::vector< DiscreteElement * > * GetSubElements ()
 
DiscreteElementGetSuperElement ()
 
LineSegmentGetLineSegment ()
 
void SetRigidElement (ModifiableRigidElement *rigid_element)
 
virtual void Setup (double T, const double *const X, mat6 &InertiaMatrix, vec6 &Force)=0
 
double GetElementLength ()
 
double GetElementRadius ()
 
double GetElementMass ()
 
virtual void StoreTempStates (const double *X, ObjectFactoryStack< DiscreteElement::TempStates > &temp_states_buffer)
 
virtual void SetTempStates (const vec3 &P, const Quat &Q, const vec3 &V, const vec3 &W, ObjectFactoryStack< DiscreteElement::TempStates > &temp_states_buffer)
 
virtual void SplitTempStates (DiscreteElement *prev, DiscreteElement *next, ObjectFactoryStack< DiscreteElement::TempStates > &temp_states_buffer)
 
virtual void CollectTempStates (ObjectFactoryStack< DiscreteElement::TempStates > &temp_states_buffer)
 
virtual void OverrideStates (double T, double *X)
 
virtual void GetTempStates (vec3 &P, Quat &Q, vec3 &V, vec3 &W)
 

Protected Attributes

double m_buoyancy_volume
 
- Protected Attributes inherited from CoRiBoDynamics::Structures::DiscreteElement
ModifiableRigidElementm_rigid_element
 
LineSegmentm_line_segment
 
DiscreteElementm_super_element
 
std::vector< DiscreteElement * > m_sub_element
 
TempStatesm_temp_states
 
float m_length
 
float m_radius
 
float m_mass
 

Detailed Description

Author
Jorgen Haavind Jensen
basic inertia and hydrodynamic forces for a cylinder element

Member Function Documentation

◆ Setup()

virtual void CoRiBoDynamics::Structures::DiscreteCylinderElement::Setup ( double  T,
const double *const  X,
mat6 &  InertiaMatrix,
vec6 &  Force 
)
virtual

The documentation for this class was generated from the following file: