3D Beam Finite Element Code  1.0
Public Member Functions | Public Attributes | List of all members
fea::Elem Struct Reference

An element of the mesh. Contains the indices of the two fea::Node's that form the element as well as the properties of the element given by the fea::Props struct. More...

#include <containers.h>

Collaboration diagram for fea::Elem:
Collaboration graph
[legend]

Public Member Functions

 Elem ()
 Default Constructor. More...
 
 Elem (unsigned int node1, unsigned int node2, const Props &_props)
 Constructor. More...
 

Public Attributes

Eigen::Vector2i node_numbers
 
Props props
 

Detailed Description

An element of the mesh. Contains the indices of the two fea::Node's that form the element as well as the properties of the element given by the fea::Props struct.

Constructor & Destructor Documentation

fea::Elem::Elem ( )
inline

Default Constructor.

fea::Elem::Elem ( unsigned int  node1,
unsigned int  node2,
const Props _props 
)
inline

Constructor.

Constructor if the node indices are passed independently. Assumes 2 nodes per element.

Parameters
[in]node1unsigned int. The indices of first node associate with the element.
[in]node2unsigned int. The indices of second node associate with the element.
[in]propsProps. The element's properties.

Member Data Documentation

Eigen::Vector2i fea::Elem::node_numbers

The indices of the node list that define the element.

Props fea::Elem::props

The set of properties to associate with the element.


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