FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
NetStructureTestSpec Class Reference
+ Inheritance diagram for NetStructureTestSpec:
+ Collaboration diagram for NetStructureTestSpec:

Public Member Functions

 NetStructureTestSpec (ISimObjectLogger *logger)
 
void FromBinaryFile (std::string fileName, std::string filePath)
 
void FromXmlFile (std::string fileName, std::string filePath)
 
int CreateExternalNodeMap (std::vector< std::string > VsInputNodes, std::vector< std::pair< std::string, int > > &VsNodes)
 
int GetNumNodesCalc ()
 
int GetNumNodesOriginal ()
 
bool GetCatsRefinementMode ()
 
std::vector< NetCableElementTestSpec * > GetCableElements ()
 
std::vector< const NetTwineElementSpec * > GetTwineElements ()
 

Protected Member Functions

virtual void ReadBinaryInputFile (std::string fileName, std::string filePath, ISimObjectLogger *logger)
 
void RefineMesh ()
 
void CheckNodeNumber (int nodeNumber, ISimObjectLogger *const logger, std::string nodeDescription="")
 
void CheckNodes (ISimObjectLogger *logger)
 
unsigned short AddCalcNode (int aiNodes[2])
 
unsigned short DivideCableElement (int cableNum)
 
unsigned short DivideTwineElement (int twineNum)
 
void ReadInputFile (std::string fileName, std::string filePath, ISimObjectLogger *m_logger)
 

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_numMeshesCalc
 The number of elements the cable is divided into.
 
int m_numNodesOriginal
 The number of original nodes of the net.
 
int m_numNodesCalc
 The number of nodes of the net after refinement.
 
std::vector< NetCableElementTestSpec * > m_cableElements
 A vector of structs containing the cable data read from the input file.
 
std::vector< const NetTwineElementSpec * > 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_netName
 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_iD
 
ISimObjectLogger * m_logger
 
int m_maxNumPanels
 
int m_maxNumCables
 
int m_maxNumNodes
 
double m_minSideLength
 
double m_maxSideLengthFactor
 

Static Protected Attributes

static int s_iID
 

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