1#ifndef CNetStructureTestSpec_h__ 
    2#define CNetStructureTestSpec_h__ 
    7#include "CNetCableElementTestSpec.h" 
    8#include "CNetTwineElementSpec.h" 
   11#include <ISimObjectLogger.h> 
   26    void    FromBinaryFile(std::string sFileName, std::string sFilePath);
 
   27    void    FromXmlFile(std::string sFileName, std::string sFilePath);
 
   28    int     CreateExternalNodeMap(std::vector<std::string> VsInputNodes, std::vector<std::pair<std::string,int> >& VsNodes);
 
   33    std::vector< CNetCableElementTestSpec*>     GetCableElements(){
return m_cableElements;}
 
   34    std::vector<const CNetTwineElementSpec*>        GetTwineElements(){
return m_twineElements;}
 
   39    virtual void ReadBinaryInputFile(std::string sFileName, std::string sFilePath, ISimObjectLogger* pLogger);
 
   42    void CheckNodeNumber(
int iNodeNumber, ISimObjectLogger *
const pLogger, std::string sNodeDescription = 
"");
 
   43    void CheckNodes(ISimObjectLogger *pLogger);
 
   45    unsigned short AddCalcNode(
int aiNodes[2]);
 
   46    unsigned short DivideCableElement(
int cableNum );
 
   47    unsigned short DivideTwineElement(
int twineNum );
 
   48    void ReadInputFile( std::string sFileName, std::string sFilePath, ISimObjectLogger* m_pLogger );
 
   68    ISimObjectLogger*       m_pLogger;
 
   72    double m_dMinSideLength;
 
   73    double m_dMaxSideLengthFactor;
 
Definition: CNetStructureTestSpec.h:15
 
int m_iNumMeshesCalc
The number of elements the cable is divided into.
Definition: CNetStructureTestSpec.h:52
 
int m_numNodesCalc
The number of nodes of the net after refinement.
Definition: CNetStructureTestSpec.h:54
 
int m_iNumNodesOriginal
The number of original nodes of the net.
Definition: CNetStructureTestSpec.h:53
 
std::vector< const CNetTwineElementSpec * > m_twineElements
A vector of structs containing the cable data read from the input file.
Definition: CNetStructureTestSpec.h:57
 
std::vector< std::pair< std::string, int > > m_VsNodesAvailable
The tag names and indices of the available external nodes.
Definition: CNetStructureTestSpec.h:64
 
std::string m_sNetName
The identification name of the net.
Definition: CNetStructureTestSpec.h:63
 
std::vector< CNetCableElementTestSpec * > m_cableElements
A vector of structs containing the cable data read from the input file.
Definition: CNetStructureTestSpec.h:56
 
int m_numTwinesCalc
The number of elements the cable is divided into.
Definition: CNetStructureTestSpec.h:51
 
int m_numCablesCalc
The number of elements the cable is divided into.
Definition: CNetStructureTestSpec.h:50
 
int m_foldingPointRefinement
refinement by folding points on each cable (Cats mode)
Definition: CNetStructureTestSpec.h:61