Marine systems simulation
SNetSectionData Struct Reference
+ Inheritance diagram for SNetSectionData:
+ Collaboration diagram for SNetSectionData:

Public Member Functions

unsigned long GetNumNodes () const
 The number of nodes of the panel.
 
int AddNode (TrawlSpec::SNetNode_t SNode)
 
int AddNode (double x, double y, unsigned long iConn=(unsigned long) -1)
 
int AddNode (sfh::linalg::Vec2 SPos, unsigned long iConn=(unsigned long) -1)
 
int DeleteNode (int iNodeIndex)
 
void DeleteAllNodes ()
 
void SetNettingData (TrawlSpec::SMeshBar SBar)
 
void SetNettingData (double D, double L, double E, double Rho)
 
std::string GetConnString ()
 
bool UpdateNode (int iIndex, TrawlSpec::SNetNode_t SNodeData)
 
bool UpdateNode (int iIndex, sfh::linalg::Vec2 SMeshPos, unsigned long iConn)
 
bool UpdateNodeConn (int iIndex, unsigned long iConn)
 
bool UpdateNodeMeshPos (int iIndex, sfh::linalg::Vec2 SMeshPos)
 
double CalcInertia (double dRhoWater) const
 
double CalcWeight (double dRhoWater) const
 
double CalcNodesInertia (double *adNodeInertias, double dRhoWater) const
 
double CalcNodesWeight (double *adNodeWeights, double dRhoWater) const
 
double CalcThreadCrossSectionArea () const
 
double CalcMeshDeterminant () const
 
double GetNumBars () const
 
void CalcNodeMassRatios (double *adNodeMassRatio) const
 
double CalcThreadEA () const
 
double GetNumKnots () const
 

Public Attributes

unsigned long iID
 The id of the panel.
 
std::string sName
 The name of the panel.
 
std::vector< TrawlSpec::SNetNode_tVSNodes
 
TrawlSpec::SMeshBar SBar
 

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