Marine systems simulation
CNetStructureWithConstraints Class Reference
+ Inheritance diagram for CNetStructureWithConstraints:
+ Collaboration diagram for CNetStructureWithConstraints:

Classes

struct  states
 

Public Member Functions

 CNetStructureWithConstraints (std::string sSimObjectName, ISimObjectCreator *pCreator)
 The constructor sets the pointer to the output object and the parser object.
 
virtual ~CNetStructureWithConstraints ()
 The destructor deletes dynamically allocated memory.
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 
virtual void InitialConditionSetup (const double dT, const double *const adCurrentIC, double *const adUpdatedIC, ISimObjectCreator *const pCreator)
 
virtual void FinalSetup (const double dT, const double *const adX, ISimObjectCreator *const pCreator)
 
const double *const outExternalNodeForce (const double dT, const double *const adX, int iExtNode)
 
virtual const double *const NodePos (const double dT, const double *const adX, int iExtNode)
 
virtual const double *const NodeVel (const double dT, const double *const adX, int iExtNode)
 
virtual const double *const BottomContact (const double dT, const double *const adX)
 
void SetAddedDragPerMPS (double AddedDragPerMPS)
 
virtual const double *const NodeForce (const double dT, const double *const adX, int iExtNode)
 

Protected Member Functions

virtual void CalcStateDerivatives (const double *const adX, double *const adXDot)
 
virtual void AddExternalForces (const double dT, const double *const adX)
 
virtual void AddNetForces (const double dT, const double *const adX)
 
virtual void AddCableForces (const double dT, const double *const adX)
 
virtual double AddNodeBottomForce (const double *const adX, int iNode, double dDiam, double adForceInOut[3])
 
virtual void AddBottomForces (const double *const adX)
 
virtual void AddInputPorts (ISimObjectCreator *pCreator)
 
virtual void CreateNetPanels (std::vector< const CNetElementDef * > VNetElementDefs, ISimObjectCreator *pCreator)
 
virtual void CreateNetCables (std::vector< const CNetCableElementSpec * > VCableElements, ISimObjectCreator *pCreator)
 
virtual void CreateDataStructures ()
 
virtual void CreateOutputPorts (ISimObjectCreator *pCreator)
 
VSPairStrInt CreateExternalNodeMap (std::string sTag, int *piUsed, CNetStructureSpec &NetSpec, ISimObjectCreator *pCreator)
 
void PRINTALLNODEFORCES (std::string spec, double dT)
 
void SetExternalPos (const double dT, const double *const adX)
 
void SetExternalVel (const double dT, const double *const adX)
 

Protected Attributes

ISignalPort ** m_InTopConstraintsPos
 Interface member variables.
 
ISignalPort ** m_InTopConstraintsVel
 
int * m_aIStatePos
 
int * m_aIStateVel
 
double * m_NodeExternalForces
 
double * m_NodeConstraintsPos
 
double * m_NodeConstraintsVel
 
int m_iNumNodesInputForce
 Node counts.
 
int m_iNumNodesOutputPosAndVel
 
int m_iNumPanelsCalc
 
int m_iNumCablesCalc
 
int m_iNumNodesOriginal
 
int m_iNumNodesCalc
 
int m_iNumNodeOutputs
 
double * m_NodeInternalForces
 
int(* m_hasPosAndVelStates )[2]
 
int m_NumNodesInputPosAndVel
 
int m_NumNodesOutputForce
 
VSPairStrInt m_VsNodesInputPosAndVel
 
VSPairStrInt m_VsNodesOutputForce
 
CNetBottomContactFilter m_BottomContactFilter
 Environment.
 
double m_adBottomContact [6]
 
IBasicBottom ** m_ppBottom
 
ICurrentVel ** m_ppCurrentVel
 
CEnvironmentm_pEnvironment
 
std::vector< CNetCableElementWithConstraints * > m_VpCableElements
 Element properties.
 
std::vector< CNetElement3NWithConstraints * > m_VpNetElements
 
float * m_afInertia
 
int * m_aiNetConn
 
int ** m_aaiCableConn
 
SAdaptationSpec_t m_SAdaptations
 
bool m_bFoldingPointRefinementUsed
 
VSPairStrInt m_VsNodesOutputPosAndVel
 Nodes reachable directly through input or output ports.
 
VSPairStrInt m_VsNodesInputForce
 
bool m_bUseTagForExternalNodes
 
double * m_adNodeForce
 
sfh::timers::StopWatch m_OdeTimer
 
bool m_CageWakeEffectsActive
 
CoRiBoDynamics::ConstraintSolverm_constraintSolver
 
std::vector< statesm_stateVector
 
CoRiBoDynamics::JointConstraintm_jointConstr
 
double m_topPosition1 [3]
 
double m_topVelocity1 [3]
 
double m_topOrientation1 [4]
 
double m_topangularVel1 [3]
 
double m_topPosition2 [3]
 
double m_topVelocity2 [3]
 
double m_topOrientation2 [4]
 
double m_topangularVel2 [3]
 
double * m_nodeWeight
 
double m_YoungsModulus
 
int m_numConstraintsElements
 
double m_depthOfConstraintsCable
 

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