Marine systems simulation
CNetStructureTest Class Reference

Class containing a net object. More...

#include <CNetStructureTest.h>

+ Inheritance diagram for CNetStructureTest:
+ Collaboration diagram for CNetStructureTest:

Public Member Functions

 CNetStructureTest (std::string sSimObjectName, ISimObjectCreator *pCreator)
 The constructor sets the pointer to the output object and the parser object.
 
virtual ~CNetStructureTest ()
 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 * dragReduction (const double T, const double *const X)
 
virtual const double * projectedArea (const double T, const double *const X)
 
virtual const double * projectedVelocity (const double T, const double *const X)
 
virtual const double * dragForce (const double T, const double *const X)
 
virtual const double * cableForce (const double T, const double *const X)
 
virtual const double * appendixForce (const double T, const double *const X)
 
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)
 

Public Attributes

double m_dragReduction
 
double m_projectedArea
 
double m_projectedVelocity
 

Protected Member Functions

virtual void AddExternalForces (const double dT, const double *const adX)
 
virtual void AddCableForces (const double dT, const double *const adX)
 
virtual void AddInputPorts (ISimObjectCreator *pCreator)
 
virtual void CreateNetCables (std::vector< CNetCableElementTestSpec * > VCableElements, ISimObjectCreator *pCreator)
 
virtual void CreateNetTwines (std::vector< const CNetTwineElementSpec * > VCableElements, ISimObjectCreator *pCreator)
 
virtual void CreateDataStructures ()
 
virtual void CreateOutputPorts (ISimObjectCreator *pCreator)
 
std::vector< std::pair< std::string, int > > CreateExternalNodeMap (std::string sTag, int *piUsed, CNetStructureTestSpec &NetSpec, ISimObjectCreator *pCreator)
 
const double * currentVelocity (const double dT, const double *const adX)
 

Protected Attributes

double m_dSymplecticStepsize
 
ISignalPort ** m_apInExternalForces
 Interface member variables.
 
ISignalPort * m_colorLimits
 
int * m_aIStatePos
 
int * m_aIStateVel
 
double * m_NodeExternalForces
 
int m_iNumNodesInputForce
 Node counts.
 
int m_iNumNodesOutputPosAndVel
 
int m_numCables
 
int m_iNumNodesCalc
 
CEnvironmentm_pEnvironment
 Environment.
 
double m_currentVel [3]
 
std::vector< CNetCableElementTest * > m_cableElements
 Element properties.
 
std::vector< CNetTwineElement * > m_VpTwineElements
 
float * m_afInertia
 
int ** m_aaiCableConn
 
bool m_bFoldingPointRefinementUsed
 
std::vector< std::pair< std::string, int > > m_VsNodesOutputPosAndVel
 Nodes reachable directly through input or output ports.
 
std::vector< std::pair< std::string, int > > m_VsNodesInputForce
 
bool m_bUseTagForExternalNodes
 
double * m_adNodeForce
 
unsigned int m_iNumTwinesCalc
 
int ** m_netsurface
 
sfh::linalg::sse_vec3f * omp_posa
 
sfh::linalg::sse_vec3f * omp_posb
 
sfh::linalg::sse_vec3f * omp_vela
 
sfh::linalg::sse_vec3f * omp_velb
 
sfh::linalg::sse_vec3f * omp_velf
 
sfh::linalg::sse_vec3f * omp_forceA
 
sfh::linalg::sse_vec3f * omp_forceB
 
double m_dragForce [3]
 
double m_cableForce [3]
 
double m_appendixForce [3]
 

Detailed Description

Author
Karl-Johan Reite

Member Function Documentation

◆ OdeFcn()

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

Reimplemented in CNetStructureConstrained.


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