My Project
Public Member Functions | Public Attributes | List of all members
Node Class Reference

Struct that holds the x and y coordinate for each node. More...

#include <Node.h>

Public Member Functions

void calculateOmega (double xs, double ys, double C)
 Calcualates Omega from Omega_c, xs, ys and C. More...
 

Public Attributes

int nElem
 Number of elements connected to this node.
 
double x
 x position of the node
 
double y
 y position of the node
 
double xp
 x position of the node, given in principal coordinates
 
double yp
 y position of the node, given in principal coordinates
 
double sigmaAxial
 Stress due to axial force.
 
double NofX
 Normal stresses due to Mx.
 
double NofY
 Normal stresses due to My.
 
double omega_c
 Nodal omega relative to center of gravity (used temporarily, until omega is determined)
 
double omega
 Nodal omega relative to shear center.
 
double Ek
 Average of Young's Modulus for all adjacent line segments.
 
bool visited = false
 Bool used in CycleDetection class to determine if the node has been visited already.
 
std::vector< double > tau_thinwall
 Contains tau values due to Vx, Vy, Twrp as well as resulting stress, Tstv and effective stress respectively. [Vx, Vy, Twrp, resulting, Tstv, effective].
 
std::vector< double > sigmaX
 Contains sigma_x values due to N, Mx, My, B as well as resulting stress respectively. [N, Mx, My, B, resulting].
 
MatrixXd tau
 2x1 matrix containing tauXZ and tauYZ.
 

Detailed Description

Struct that holds the x and y coordinate for each node.

Member Function Documentation

void Node::calculateOmega ( double  xs,
double  ys,
double  C 
)

Calcualates Omega from Omega_c, xs, ys and C.

\( \omega = \omega_c - x_{s}y + y_{s}x + C \)

Parameters
xsx-coordinate of shear centre
ysy-coordinate of shear centre
Cshear constant

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