1#ifndef S_NET_SECTION_DATA_H
2#define S_NET_SECTION_DATA_H
8#include "OgreColourValue.h"
15 std::vector<TrawlSpec::SNetNode_t> VSNodes;
17#ifdef FH_VISUALIZATION
18 Ogre::ColourValue twineColour;
23 int AddNode(
double x,
double y,
unsigned long conn = (
unsigned long) -1);
24 int AddNode(sfh::linalg::Vec2 SPos,
unsigned long conn = (
unsigned long) -1);
25 int DeleteNode(
int nodeIndex);
26 void DeleteAllNodes();
28 void SetNettingData(
double D,
double L,
double E,
double Rho);
29 std::string GetConnString();
31 bool UpdateNode(
int index, sfh::linalg::Vec2 SMeshPos,
unsigned long conn);
32 bool UpdateNodeConn(
int index,
unsigned long conn);
33 bool UpdateNodeMeshPos(
int index, sfh::linalg::Vec2 SMeshPos);
36 double CalcInertia(
double rhoWater)
const;
37 double CalcWeight(
double rhoWater)
const;
38 double CalcNodesInertia(
double* adNodeInertias,
double rhoWater)
const;
39 double CalcNodesWeight(
double* adNodeWeights,
double rhoWater)
const;
40 double CalcThreadCrossSectionArea()
const;
45 double CalcMeshDeterminant()
const;
46 double GetNumBars()
const;
47 void CalcNodeMassRatios(
double* adNodeMassRatio)
const;
48 double CalcThreadEA()
const;
49 double GetNumKnots()
const;
Definition SNetSectionData.h:12
unsigned long iID
The id of the panel.
Definition SNetSectionData.h:13
unsigned long GetNumNodes() const
The number of nodes of the panel.
std::string name
The name of the panel.
Definition SNetSectionData.h:14
double CalcNodesThreadVolume(double *adNodeVolumes) const
Lumps CalcThreadVolume to the three nodes of the panel as CalcNodesInertia does [m^3]; returns the vo...
double CalcThreadVolume() const
The volume of the twine of the panel, cross section times bar length times number of bars [m^3].
Definition NTrawlSpec.h:79
Definition NTrawlSpec.h:56