Marine systems simulation
CNetStructureOCL Class Reference

Class containing a net object. More...

#include <CNetStructureOCL.h>

+ Inheritance diagram for CNetStructureOCL:
+ Collaboration diagram for CNetStructureOCL:

Public Member Functions

 CNetStructureOCL (std::string sSimObjectName, ISimObjectCreator *pCreator)
 The constructor sets the pointer to the output object and the parser object.
 
virtual ~CNetStructureOCL ()
 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)
 
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)
 

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)
 

Protected Attributes

ISignalPort ** m_apInExternalForces
 Interface member variables.
 
int * m_aIStatePos
 
int * m_aIStateVel
 
int m_iNumNodesInputForce
 Node counts.
 
int m_iNumNodesOutputPosAndVel
 
int m_iNumPanelsCalc
 
int m_iNumCablesCalc
 
int m_iNumNodesOriginal
 
int m_iNumNodesCalc
 
int m_iNumNodeOutputs
 
CNetBottomContactFilter m_BottomContactFilter
 Environment.
 
double m_adBottomContact [6]
 
IBasicBottom ** m_ppBottom
 
ICurrentVel ** m_ppCurrentVel
 
float * m_afElementWaterVel
 
std::vector< CNetCableElement * > m_VpCableElements
 Element properties.
 
std::vector< CNetElement3N * > m_VpNetElements
 
float * m_afInertia
 
int * m_aiNetConn
 
int ** m_aaiCableConn
 
SAdaptationSpec_t m_SAdaptations
 
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
 
CNetPanelForcesOclpNetPanelForcesOcl
 

Detailed Description

Author
Karl-Johan Reite

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