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

Public Member Functions

 CNetStructureWakeEffect (std::string sSimObjectName, ISimObjectCreator *pCreator)
 The constructor sets the pointer to the output object and the parser object.
 
virtual ~CNetStructureWakeEffect ()
 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 * outExternalNodeForce (const double dT, const double *const adX, int iExtNode)
 
virtual const double * NodePos (const double dT, const double *const adX, int iExtNode)
 
virtual const double * NodeVel (const double dT, const double *const adX, int iExtNode)
 
virtual const double * BottomContact (const double dT, const double *const adX)
 
void SetAddedDragPerMPS (double AddedDragPerMPS)
 
const double * GetNetTotalForceForCheck (const double dT, const double *const adX)
 

Protected Member Functions

virtual void CalcStateDerivatives (const double *const adX, double *const adXDot)
 For screen model. Checking calculated total net force. More...
 
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
 
double * m_NodeExternalForces
 
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
 
CEnvironmentm_pEnvironment
 
std::vector< CNetCableElement * > m_VpCableElements
 Element properties.
 
std::vector< CNetElement3NWakeEffect * > 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_UseScreenModel
 
bool m_UseMoeFore2021
 
double m_SnImg
 
double m_RhoWater
 
double m_NetForcesTotalForOutputCheck [3]
 
bool m_ExternalElementWakeEffectsActive
 Set to true if elements should be affected by the wake from other elements.
 
bool m_InternalElementWakeEffectsActive
 Set to true if wake effects should be active within an element.
 
bool m_UseActualElementSizeInWakeEffect
 Set to true if actual size (number of u and v bars) of net element shall be used in wake effect calculation. If set to false, number of u and v bars will be set equal to m_NElementBarsInWakeEffectCalc.
 
int m_NElementBarsInWakeEffectCalc
 Number of u and v bars in calculation of wake effect if m_UseActualElementSizeInWakeEffect is set to false.
 
bool m_useReynoldsDependentDragCoefficients
 

Member Function Documentation

◆ CalcStateDerivatives()

virtual void CNetStructureWakeEffect::CalcStateDerivatives ( const double *const  adX,
double *const  adXDot 
)
protectedvirtual

Reimplemented in Netcage::CNetCageWakeEffect.

◆ OdeFcn()

virtual void CNetStructureWakeEffect::OdeFcn ( const double  dT,
const double *const  adX,
double *const  adXDot,
const bool  bIsMajorTimeStep 
)
virtual

Reimplemented in Netcage::CNetCageWakeEffect.


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