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

Public Member Functions

 CNetStructureTestSpec (ISimObjectLogger *pLogger)
 
void FromBinaryFile (std::string sFileName, std::string sFilePath)
 
void FromXmlFile (std::string sFileName, std::string sFilePath)
 
int CreateExternalNodeMap (std::vector< std::string > VsInputNodes, std::vector< std::pair< std::string, int > > &VsNodes)
 
int GetNumNodesCalc ()
 
int GetNumNodesOriginal ()
 
bool GetCatsRefinementMode ()
 
std::vector< CNetCableElementTestSpec * > GetCableElements ()
 
std::vector< const CNetTwineElementSpec * > GetTwineElements ()
 

Protected Member Functions

virtual void ReadBinaryInputFile (std::string sFileName, std::string sFilePath, ISimObjectLogger *pLogger)
 
void RefineMesh ()
 
void CheckNodeNumber (int iNodeNumber, ISimObjectLogger *const pLogger, std::string sNodeDescription="")
 
void CheckNodes (ISimObjectLogger *pLogger)
 
unsigned short AddCalcNode (int aiNodes[2])
 
unsigned short DivideCableElement (int cableNum)
 
unsigned short DivideTwineElement (int twineNum)
 
void ReadInputFile (std::string sFileName, std::string sFilePath, ISimObjectLogger *m_pLogger)
 

Protected Attributes

int m_numCablesCalc
 The number of elements the cable is divided into.
 
int m_numTwinesCalc
 The number of elements the cable is divided into.
 
int m_iNumMeshesCalc
 The number of elements the cable is divided into.
 
int m_iNumNodesOriginal
 The number of original nodes of the net.
 
int m_numNodesCalc
 The number of nodes of the net after refinement.
 
std::vector< CNetCableElementTestSpec * > m_cableElements
 A vector of structs containing the cable data read from the input file.
 
std::vector< const CNetTwineElementSpec * > m_twineElements
 A vector of structs containing the cable data read from the input file.
 
int m_foldingPointRefinement
 refinement by folding points on each cable (Cats mode)
 
std::string m_sNetName
 The identification name of the net.
 
std::vector< std::pair< std::string, int > > m_VsNodesAvailable
 The tag names and indices of the available external nodes.
 
int m_iID
 
ISimObjectLogger * m_pLogger
 
int m_iMaxNumPanels
 
int m_iMaxNumCables
 
int m_iMaxNumNodes
 
double m_dMinSideLength
 
double m_dMaxSideLengthFactor
 

Static Protected Attributes

static int s_iID
 

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