FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
SCableSectionData Struct Reference
+ Collaboration diagram for SCableSectionData:

Classes

struct  HalfPlacement
 Where each sphere and disk goes if the line is divided into two mirror-image halves (GetHalfCable). More...
 

Public Member Functions

 SCableSectionData (const SCableSectionData &old)
 
SCableSectionData & operator= (const SCableSectionData &old)
 
SCableSectionData GetHalfCable (bool bFirstHalf)
 
void Initialize (double dL=10.0, double dD=0.01, double dRho=1025, double dE=1e9, double dRefineFactor=1, std::string sMaterialName="Trawl/Wire2", double dDrawScale=1)
 
void AddSpheres (unsigned short iNum, double dDiameter, double dRho, double dEndPos, double dStartPos, std::string sMaterial="floater")
 
void AddSpheres (unsigned short iNum, double dDiameter, double dRho, std::string sMaterial="floater")
 
void AddDisks (unsigned short iNum, double dDiameter, double dThickness, double dRho, double dEndPos, double dStartPos, std::string sMaterial="floater")
 
void AddDisks (unsigned short iNum, double dDiameter, double dThickness, double dRho, std::string sMaterial="floater")
 
void DeleteSpheres ()
 
void ResetSpheres ()
 
void ResetDisks ()
 

Public Attributes

double D
 
double E
 
double L
 
int Conn [2]
 
double Rho
 
std::string MaterialName
 
double DrawScale
 
unsigned short NumSpheres
 
double * SphereD
 
double * SphereMass
 
double * SpherePos
 
unsigned short NumDisks
 
double * DiskD
 
double * DiskThickness
 
double * DiskMass
 
double * DiskPos
 
double AddedWeightInWater
 
double RefineFactor
 
std::vector< std::string > VsSphereMaterial
 
std::vector< std::string > VsDiskMaterial
 
std::vector< HalfPlacement > SphereHalves
 
std::vector< HalfPlacement > DiskHalves
 
TrawlSpec::SSectionPlacement SPlacement
 

Member Function Documentation

◆ GetHalfCable()

SCableSectionData SCableSectionData::GetHalfCable ( bool  bFirstHalf)

One of the two mirror-image halves of a line that runs from the outer end of one half over the middle to the outer end of the other: half the length, and half of the spheres and disks, placed by SphereHalves and DiskHalves.


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