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

Contains a node list, element list, and the properties of each element. More...

#include <containers.h>

Public Member Functions

 Job ()
 Default constructor. More...
 
 Job (const std::vector< Node > &_nodes, const std::vector< Elem > _elems)
 Constructor. More...
 

Public Attributes

std::vector< Nodenodes
 
std::vector< Eigen::Vector2i > elems
 
std::vector< Propsprops
 

Detailed Description

Contains a node list, element list, and the properties of each element.

Constructor & Destructor Documentation

fea::Job::Job ( )
inline

Default constructor.

fea::Job::Job ( const std::vector< Node > &  _nodes,
const std::vector< Elem _elems 
)
inline

Constructor.

Takes an list of nodes and elements as inputs. The elements are deconstructed into an array holding the connectivity list and an array holding the properties.

Parameters
[in]nodesstd::vector<Node>. The node list that defines the mesh.
[in]elemsstd::vector<Elem>. The elements that define the mesh. An element is defined by the connectivity list and the associated properties.

Member Data Documentation

std::vector<Eigen::Vector2i> fea::Job::elems

A 2D vector of ints that defines the connectivity of the node list.

std::vector<Node> fea::Job::nodes

A vector of Node objects that define the mesh.

std::vector<Props> fea::Job::props

A vector that contains the properties of each element.


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