9 #include "OgreColourValue.h"
16 BottomContact_ForceP = 0,
19 BottomContact_DistanceP,
20 BottomContact_DistanceS,
21 BottomContact_DistanceC
24 enum ENetExternalNodes_t
26 NetExternalNodes_Wing1 = 0,
27 NetExternalNodes_Wing2,
28 NetExternalNodes_Wing3,
29 NetExternalNodes_Wing4,
30 NetExternalNodes_Wing5,
31 NetExternalNodes_Wing6,
32 NetExternalNodes_Wing7,
33 NetExternalNodes_Wing8,
34 NetExternalNodes_HeadlineSide,
35 NetExternalNodes_HeadlineC,
36 NetExternalNodes_FishlineSide,
37 NetExternalNodes_FishlineC,
38 NetExternalNodes_Codend,
39 NetExternalNodes_NumNodes,
44 std::vector<int> ViPrtNodes;
45 std::vector<int> ViStbNodes;
50 ViPrtNodes.resize(NetExternalNodes_NumNodes);
51 ViStbNodes.resize(NetExternalNodes_NumNodes);
58 sfh::linalg::Vec2 SMeshPos;
65 SNetNode_t(
double xPos,
double yPos,
unsigned long iConnection = (
unsigned long) -1)
72 SNetNode_t(
const sfh::linalg::Vec2 SMeshPosition,
unsigned long iConnection = (
unsigned long) -1)
75 SMeshPos = SMeshPosition;
85 SMeshBar(
double diam = 0,
double length = 0,
double stiffness = 0,
double rho = 0)
114 SPanelCut(
double N_in = 0,
double T1_in = 0,
double T2_in = 0,
double T3_in = -1,
115 double cutN_in = 0,
double cutB_in = 0,
double cutT_in = 0)
132 double reinforcementRatio;
135#ifdef FH_VISUALIZATION
136 Ogre::ColourValue twineColour;
144 double GetThreadArea()
const
146 return (Cutting.T1 + Cutting.T2) * Cutting.N * Bar.L * Bar.D;
153 SectionSide_Front = 0,
164 SectionNode_FRONTPRT = 0,
165 SectionNode_FRONTSTB,
166 SectionNode_FRONTCENTER,
167 SectionNode_FRONTPRTWING,
168 SectionNode_FRONTSTBWING,
171 SectionNode_BACKCENTER,
177 Paneledge_DEFAULT = 0 ,
179 Paneledge_PRT = Paneledge_DEFAULT ,
180 Paneledge_STB = Paneledge_OTHER ,
181 Paneledge_UPPER = Paneledge_DEFAULT ,
182 Paneledge_LOWER = Paneledge_OTHER ,
191 PANEL_SIDE = PANEL_PRTSIDE,
201 PanelNodes_NUMPANELS,
202 PanelNodes_UPPER = PanelNodes_PRT,
203 PanelNodes_LOWER = PanelNodes_STB,
204 PanelNodes_UPPERWING = PanelNodes_PRTWING,
205 PanelNodes_LOWERWING = PanelNodes_STBWING,
213 SECTIONTYPE_SPLITTER,
219 ESectionType_t SectionType;
229 side = SectionSide_Front;
251 TrawlSpec::EPanel_t Panel;
252 TrawlSpec::EPanelNodes NodePlacement;
254 SNodeSpec(TrawlSpec::EPanel_t PanelIn, TrawlSpec::EPanelNodes NodePlacementIn,
int SectionIn)
257 NodePlacement = NodePlacementIn;
284 std::vector<std::vector<SPosXY> > VVSectionNodePos;
286 bool bFrontElementIsTriangular;
287 bool bAftElementIsTriangular;
296 for (
int i = 0; i < 5; i++)
300 bFrontElementIsTriangular =
false;
301 bAftElementIsTriangular =
false;
302 VVSectionNodePos.clear();
Definition: NTrawlSpec.h:79
Definition: NTrawlSpec.h:43
Definition: NTrawlSpec.h:56
Definition: NTrawlSpec.h:128
bool IsOtherWing
This signals that this wing is on the "other" side. Only used for not symmetric wings,...
Definition: NTrawlSpec.h:134
Definition: NTrawlSpec.h:250
Definition: NTrawlSpec.h:95
Definition: NTrawlSpec.h:269
std::vector< std::vector< int > > VViPanelNodes
Definition: NTrawlSpec.h:282
Definition: NTrawlSpec.h:262
Definition: NTrawlSpec.h:237
Definition: NTrawlSpec.h:224
Definition: NTrawlSpec.h:217